Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
56 user(s) are online (40 user(s) are browsing Forums)

Members: 1
Guests: 55

blmara, more...

Headlines

 
  Register To Post  

Warp3D and fog
Just can't stay away
Just can't stay away


See User information
I'm trying to set the fog paramters in the WarpTest example, but all I get is the error "W3D_UNSUPPORTED".

The fog enabling code looks something like this:

W3D_Fog myFog = {
    
1.00.21.0,
    {
8.1/32.08.1/32.017.1/32.0}
};

...

//this returns W3D_SUCCESS:
res W3D_SetState(contextW3D_FOGGINGW3D_ENABLE);

//this returns W3D_UNSUPPORTED:
res W3D_SetFogParams(context, &myFogW3D_FOG_LINEAR);


What could be wrong here?

Go to top
Re: Warp3D and fog
Home away from home
Home away from home


See User information
@alfkil

Have a look at how MiniGL handles fog.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project