Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (ozgur, howardR, AndrewAMD, exile, Ayumi), 725 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Lights in VIEW not working #453845
08/17/15 08:00
08/17/15 08:00
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I have a "VIEW" entity which displays a different camera from the main player cam on a screen. It seems to work fine overall, but I noticed that lights do not seem to work when viewed through the secondary camera, only ambient light as set in the VIEW object. Is there a way to activate lights in a VIEW object?

Last edited by Dooley; 08/17/15 22:41.
Re: Lights in VIEW not working [Re: Dooley] #454153
08/30/15 06:48
08/30/15 06:48
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Sometimes if I change the angle of the main camera, looking at the view entity, the lights show up, but it is not working the way I want. Any ideas?

Re: Lights in VIEW not working [Re: Dooley] #454154
08/30/15 06:54
08/30/15 06:54
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
If I add sunlight to the scene, the VIEW entity can pick that up. However, when another entity emits light, the VIEW entity does not show those lights.

Re: Lights in VIEW not working [Re: Dooley] #454165
08/30/15 17:59
08/30/15 17:59

M
Malice
Unregistered
Malice
Unregistered
M



there may be some clues here
http://www.conitec.net/beta/aentity-lightrange.htm
all ent lights are dynamic lights

I'll continue to search the um /Manual

Re: Lights in VIEW not working [Re: ] #454166
08/30/15 18:01
08/30/15 18:01

M
Malice
Unregistered
Malice
Unregistered
M



another possible factor , clip ranges differ per views (camera being a view)
http://www.conitec.net/beta/aview-clip_near.htm

Re: Lights in VIEW not working [Re: ] #454167
08/30/15 18:05
08/30/15 18:05

M
Malice
Unregistered
Malice
Unregistered
M




Re: Lights in VIEW not working [Re: ] #454168
08/30/15 18:07
08/30/15 18:07

M
Malice
Unregistered
Malice
Unregistered
M



information to note when using dynamic light s
http://www.conitec.net/beta/ad3d_pointlightfalloff.htm

Re: Lights in VIEW not working [Re: ] #454169
08/30/15 18:08
08/30/15 18:08

M
Malice
Unregistered
Malice
Unregistered
M



ding ding ding Winning information HERE
http://www.conitec.net/beta/amax_lights.htm
All dynamic lights are clipped against the light_view frustum. If the active view is different to the predefined camera view, the light_view pointer must be set to the active view, or to NULL when there are several active views and the lights must not be clipped.


found in that um manual

Last edited by Malice; 08/30/15 18:10.
Re: Lights in VIEW not working [Re: ] #454170
08/30/15 18:11
08/30/15 18:11

M
Malice
Unregistered
Malice
Unregistered
M



http://www.conitec.net/beta/camera.htm

same remark in camera
Dynamic lights are clipped against the light_view, which is set to camera by default. If the active view is different to the camera view, the light_view pointer must be set to the active view, or to NULL when there are several active views and the lights must not be clipped against one of them.

Re: Lights in VIEW not working [Re: ] #454171
08/30/15 18:12
08/30/15 18:12

M
Malice
Unregistered
Malice
Unregistered
M




Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1