Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, 7th_zorro, 1 invisible), 1,060 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
hate stupid problems #204674
04/30/08 18:16
04/30/08 18:16
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Can someone tell me why it's not working?!
Still can see far far away from camera \:o
Only fog color is changing, fog and view distance - not

camera.clip_near = 10;
camera.clip_far = 1500; //nothing happened when changed
var clip_range 1500; //nothing happened when changed
d3d_fogcolor4.red = 155;
d3d_fogcolor4.green = 155;
d3d_fogcolor4.blue = 155;
fog_color = 4;
camera.fog_start = 1000; //nothing happened when changed
camera.fog_end = 1400; //nothing happened when changed



Last edited by tompo; 04/30/08 18:19.

Never say never.
Re: hate stupid problems [Re: tompo] #204692
05/01/08 01:35
05/01/08 01:35
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Use % maybe, works for me like this

camera.fog_start = 0.05 * fog_range; // fog at 5% of fog_range
camera.fog_end = 0.8 * fog_range;// fog till 80% of fog_range

Re: hate stupid problems [Re: Nems] #204702
05/01/08 06:49
05/01/08 06:49
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I think when he cant set the camera values, giving him the advice to set them to a percentage wont help him much.

Tompo, if you type some code and it does not work you should first check if your code is executed at all. Put a breakpoint or a beep() in your function and look if its running at all. If it is then the second possibility is that the camera values are reset at some other place in your code.





Re: hate stupid problems [Re: Spirit] #204708
05/01/08 08:13
05/01/08 08:13
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
 Quote:
Tompo, if you type some code and it does not work you should first check if your code is executed at all.

Already done... fog's color is changing.
And this code is without loop, so it's not about reset by another function

Last edited by tompo; 05/01/08 08:15.

Never say never.
Re: hate stupid problems [Re: tompo] #204731
05/01/08 12:45
05/01/08 12:45
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Solved
Revraction shader creates second view
even not activated.


Never say never.
Re: hate stupid problems [Re: tompo] #204739
05/01/08 13:11
05/01/08 13:11
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
If self-solved, well done, tompo.
We are confident, that potentially, 'you' are a problem solver at least on par with the common segment, and pushing tense, on paths not yet traveled, a greater walking solvent than a larger slice of those, 'you' should be.

Re: hate stupid problems [Re: testDummy] #204869
05/02/08 07:32
05/02/08 07:32
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Still have a problem / don't understand what's going on.
HERE is a link.


Never say never.
Re: hate stupid problems [Re: tompo] #204892
05/02/08 09:58
05/02/08 09:58
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
try upgradin to 7.07, after playing with values it works, but 7.05 seems to be the problem.




3333333333

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