Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Mouse.Pick() Also Lighting

Author
Message
madmunkey
11
Years of Service
User Offline
Joined: 9th May 2012
Location: United Kingdom
Posted: 20th May 2012 13:27
Hi All, can anyone help me out. Im using Mouse.Pick to check if the mouse is over objects but the function says it will add a Basic3D.Distance as at the moment it will select all the objects in front of the camera rather than just the one object in the line of sight (if that makes sense) so I need to get the distance of the object and make sure its in front on the camera.

Also I have my floor as planes can anyone advise why these do not get affected by the lighting and also some sides of a cube see below



There Sphere has a Green Lighting affect applied which you can see cast on the pillar to the left but the wall to the right does not get affected and also the floor/roof doesn't.
madmunkey
11
Years of Service
User Offline
Joined: 9th May 2012
Location: United Kingdom
Posted: 22nd May 2012 12:22
Anyone?

Login to post a reply

Server time is: 2024-04-19 22:16:48
Your offset time is: 2024-04-19 22:16:48