Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 962 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Model below block wont react to static lights anymore?!? [Re: rayp] #459639
05/29/16 13:33
05/29/16 13:33
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
HAIL TO 3RUN!

A tricky thing caused this.
In MDL file base frame, all looks good


But in frame 1 it looks like this

As u can see, bullets gone to somewhere, causing a gigantic model

Tricky!
Thanks a lot 3run for your support and time!


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Model below block wont react to static lights anymore?!? [Re: 3run] #459640
05/29/16 13:37
05/29/16 13:37
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Originally Posted By: 3run
I remember facing same kind of a problem in the past.. It will affect all models which are close to the celling. There was something to 'force' model for 'receiving' light from the surface below. But I can't find it in the manual. If I remember correctly, Superku helped me out back then, so maybe he will be able to point out how to make entity 'take' shadows from the surface below.
, floor_range perhaps? "Controls the range within which the entities' light depends on the brightness and shadows of the floor area below (default 1000 quants). If the entities' height above the floor exceeds that range, the entity won't receive light, albedo and fog values from the floor texture. This way it can be prevented that aircraft models in a flight simulator suddenly change their brightness dependent on shadows on the ground."

@rayp, congrats, another fun adventure of Gamestudio 3d solved grin

Re: Model below block wont react to static lights anymore?!? [Re: Reconnoiter] #459641
05/29/16 13:55
05/29/16 13:55
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Thanks.
Something about frame/model - orientation was my first guess. But i didnt check what those damn bullets are doing. To see them u need to scroll out very far, in frames > 0.

Comon what a #@!** grin

Edit: Means i converted a lot of models with some damaged frames over the years and did not realize it!

Last edited by rayp; 05/29/16 14:45.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Model below block wont react to static lights anymore?!? [Re: rayp] #459644
05/29/16 17:32
05/29/16 17:32
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: rayp
[b]No shader and material used!
All is std. A model with one texture and static lights! Some models dont react to static lights below blocks. Never seen that.


Just to be perfectly clear, there is no such thing as no shader anymore. There is no way to render anything without a shader, and just because you didn't set one doesn't mean there isn't one implicitly set for you. In this case by Gamestudio, but if you would insist to the GPU driver directly that you'd rather use the fixed function pipeline it'll just set a shader for you implicitly anyway. It's like saying you can use a CPU without a kernel/OS, software has to drive the hardware and on the GPU side that's the job of shaders.

I realize you found a cause for your problem, but just as a future reference, since there is no such thing as no shaders these day anymore, you might as well use them again.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Model below block wont react to static lights anymore?!? [Re: WretchedSid] #459645
05/29/16 17:51
05/29/16 17:51
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Ok thanks for the info.
Next time i say "no 3rd party material"


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Page 2 of 2 1 2

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