I read the tutorial on snarkpit on how to do a 3d skybox, and I can do
it when its just a square with scenery around it, but when it comes to
thecove (which isn't square) I can't get it to line up, mainly b/c I
don't think I really understand the concept of the sky_camera. Where
does it need to be in relation to the things in the skybox. I know it
needs to be in it along with the skybox things, but its not lining up.
Thanks
1
Re: 3d skybox
Posted by Captain P on Mon Jun 18th at 11:26pm 2007

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Mon Jun 18th at 11:26pm 2007
The sky_camera entity is the center of the map, for the 3D skybox. Imagine that the 3D skybox stuff is moved, untill it's sky_camera is located at (0, 0, 0). Then, it's scaled up a lot and voila, there's your 3D skybox, properly positioned. That's what the engine does: it uses your sky_camera as a reference point, so it knows where to position your 3D skybox.
I hope that clears things up a bit?
" SRC="images/smiles/icon_smile.gif">
I hope that clears things up a bit?
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: 3d skybox
Posted by Beetle on Mon Jun 18th at 11:34pm 2007
Posted by Beetle on Mon Jun 18th at 11:34pm 2007
Thanks, but not quite. Does the sky camera always need to be at 0,0,0 until its copied over to the skybox part of it? I tried putting it at 0,0,0 then cutting it along with the start of my 3d skybox and it was off by quite a bit.
Re: 3d skybox
Posted by Riven on Tue Jun 19th at 1:18am 2007

Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Posted by Riven on Tue Jun 19th at 1:18am 2007
Yes, the sky_camera should be kept in the exact origin of the map until you're done with all your extra 3d skybox buildings and models. Then you may use the pasted special command and the texture lock button to copy it. then once it's pasted, without selecting anything, you go ahead and scale EVERYTHING using the transform tool under the tools menu. The scale should be in each axis: .01625 [EDIT] I mean .0625 (thanks RedWood)(that's 1/16 in decimal form). Then move it from out of the original skybox of the map, and give it its own, making sure to cover everything that you had kept selected from the beginning. If it still remains off line, then there is something you did wrong. To this day, I've never encountered a bug with this entity, and feel pretty confident in its ability to give you perfect or near-perfect results...
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA

Occupation: Architect
Re: 3d skybox
Posted by RedWood on Tue Jun 19th at 2:05am 2007
Posted by RedWood on Tue Jun 19th at 2:05am 2007
The decimal form of 1/16 is actually 0.0625. Scale to the wrong size and you kill your self trying to figure out wtf is wrong with your sky box.
" SRC="images/smiles/icon_lol.gif">
Re: 3d skybox
Posted by Captain P on Tue Jun 19th at 11:54am 2007

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Tue Jun 19th at 11:54am 2007
If nothing else helps, can you post some screenshots?
" SRC="images/smiles/icon_smile.gif">
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: 3d skybox
Posted by Beetle on Wed Jun 20th at 11:41pm 2007
Posted by Beetle on Wed Jun 20th at 11:41pm 2007
OK as far as lining up brushes I'm good, but the textures aren't scaling along with the brushes, and texture lock is checked. What do I do?
Re: 3d skybox
Posted by Riven on Thu Jun 21st at 12:56am 2007

Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Posted by Riven on Thu Jun 21st at 12:56am 2007
Are you using the "paste special" command under the edit menu?
Try using this tutorial over at the VDC.
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA

Occupation: Architect
Re: 3d skybox
Posted by Beetle on Thu Jun 21st at 1:16am 2007
Posted by Beetle on Thu Jun 21st at 1:16am 2007
No what i do is set the camera up, then highlight it along with 3d skybox stuff and move it to a rnadom area the ctrl m and then scale and put a skybox around it.
Re: 3d skybox
Posted by Riven on Sat Jun 23rd at 9:00pm 2007

Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Posted by Riven on Sat Jun 23rd at 9:00pm 2007
Instead of just moving over a copy of the highlighted section, you should go to edit (after it's been highlighted) and select "paste special." That way, it will copy your texture scale (if texture lock has been enabled) and any other entity keyvalues. Then you may go ahead and scale that copy after it has been placed via the "paste special" command. But try following that tutorial at the VDC EXACTLY, and see if there is a problem.
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA

Occupation: Architect
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0105 seconds.

Snarkpit v6.1.0 created this page in 0.0105 seconds.


