Sky renderer
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Sky renderer
Since r2557 the sky renderer has been replaced. Now it renders a sky box (it computes the 6 required textures at loading time from a spherical one) which is both faster (because it requires much fewer triangles) and nicer (because there is no polar artifacts and because rendering a cube is easily done without errors which is not the case with a sphere).
Since there is less geometry in a sky box than in a sky dome, it should be able to run on an Intel chip without slowing down the game too much
Since there is less geometry in a sky box than in a sky dome, it should be able to run on an Intel chip without slowing down the game too much
=>;-D Penguin Powered
Re: Sky renderer
ok, time for a dumb question - how do we rotate the camera to actually see it?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: Sky renderer
Left click on the camera mode icon (bottom left of the screen), then hold middle button to rotate the camera.
=>;-D Penguin Powered
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: Sky renderer
Or look on the water - there is a reflection of sky
Re: Sky renderer
up babax.
can't wait to see the sky.
can't wait to see the sky.
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: Sky renderer
So now we have to use spherical sky textures, that are converted to cubic ones during TA3D initialising process?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: Sky renderer
That's right. You use either half sphere (upper part only) or full sphere maps (it replaces uniform color background) which are projected on a cube which is rendered instead of the old sky dome
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 14 guests