Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 779 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
World rotation #278899
07/16/09 00:57
07/16/09 00:57
Joined: May 2008
Posts: 62
México.
F
FcoElizalde Offline OP
Junior Member
FcoElizalde  Offline OP
Junior Member
F

Joined: May 2008
Posts: 62
México.
Hi everybody
In the manual, in the Entities page there's a table that lists the diferences betwen level, view and sky entities. At the coordinates row for the sky entities it says view position and world rotation.

How can I get the value for world rotation to fake a SKY entity, but having it as a VIEW entity?

Re: World rotation [Re: FcoElizalde] #279250
07/17/09 00:40
07/17/09 00:40
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
try to explain that differently =]


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: World rotation [Re: DLively] #279254
07/17/09 02:03
07/17/09 02:03
Joined: May 2008
Posts: 62
México.
F
FcoElizalde Offline OP
Junior Member
FcoElizalde  Offline OP
Junior Member
F

Joined: May 2008
Posts: 62
México.
Allright,
a) I have the camera VIEW set to layer 1.
b) a view entity with a 3D model of a planet in layer -1.
c) a sky entity in layer -2.
d) and all sky_color set to 0.

I want to have the entity b) as a model for it to rotate, and in a negative layer to view it behind all the level and entities.
It works because when I put the sky entity translucent, I can see the model behind,the problem is that sky entities cant be placed in negative layers, so they will always be in front of the 3D model.

I tried to avoid this by creating a fake sky entity. Another view entity with a 3D cube with its normals facing inside, in a lower layer than the planet.
As any other level entity, it has a pan, tilt and roll, but my problem is that I dont know how to make it rotate in the exact direction of the level, like the SKY | CUBE does. Anyone knows how to do this?

Last edited by FcoElizalde; 07/17/09 02:06.

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