Spinning "SkyBox ViewPoint"

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
RastaManGames
Posts: 375
Joined: Wed Mar 12, 2014 11:13 pm
Graphics Processor: nVidia with Vulkan support
Location: Russian Federation, Krasnoyarsk

Spinning "SkyBox ViewPoint"

Post by RastaManGames »

I need to infinite and smooth change angle of this entity.
But while i am attach some "ID" to this entity, entire skybox are disabling.
Maybe i do something wrong or changing angle just impossible for "SkyBox ViewPoint"? :(
P.S.: Also sorry for making too much topics in last two weeks...
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Spinning "SkyBox ViewPoint"

Post by Enjay »

Try the attached. Load up the file then type

puke 1

at the console.
SkySpin.zip

[edit]
RastaManGames wrote:But while i am attach some "ID" to this entity, entire skybox are disabling.
Oh, I forgot to mention, if you give the skybox camera a tid, you need to use skybox picker objects in every sector where you want the sky to appear and set their first argument to whatever the tid of the skybox camera is (again, see the example I posted).
[/edit]
gramps
Posts: 300
Joined: Thu Oct 18, 2018 2:16 pm

Re: Spinning "SkyBox ViewPoint"

Post by gramps »

Hmm, that's an interesting problem.

Here's something you could try if you want to avoid putting skybox pickers all over the place.

Make 2 skyboxes. Design the first skybox however you want. Give the viewpoint thing in the first skybox a TID.

In the second skybox, just have sky and horizon lines (line special 9). Put a skybox picker in the second skybox, matching your first viewpoint. Also put in another viewpoint with no TID. That second skybox should end up looking like the first one, and will be used everywhere on map since viewpoint has no TID.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Spinning "SkyBox ViewPoint"

Post by Enjay »

Yup, that would work.
User avatar
RastaManGames
Posts: 375
Joined: Wed Mar 12, 2014 11:13 pm
Graphics Processor: nVidia with Vulkan support
Location: Russian Federation, Krasnoyarsk

Re: Spinning "SkyBox ViewPoint"

Post by RastaManGames »

Oh my gosh! D:
Thank you very much, Enjay! <3
It's really working and tricky method! :3
Post Reply

Return to “Mapping”