Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Grant, AndrewAMD), 911 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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