Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Projection modifier for cubemaps?
show user profile  rhumba
Hi, I have a cube with a cubemap texture assigned, and I have a geosphere (with a UV map) whose position is centred on the cube and just slightly larger. How would I render-to-texture a diffuse texture map for the sphere based on the cubemap using the projection modifier?

In other words, can I change a cube skybox into a spherical skybox, generating the texture automatically with 3dsmax? Thanks in advance,

read 601 times
2/11/2009 1:00:13 PM (last edit: 2/11/2009 1:00:13 PM)
show user profile  Dave
A quicker way might simply be to apply a turbosmooth to your box.

"I flew over Egypt once"

read 591 times
2/11/2009 1:34:54 PM (last edit: 2/11/2009 1:34:54 PM)
show user profile  rhumba
Hi Dave, thanks for replying. That's not my ideal solution though! =)
It would give me a very strange looking skybox... Ideally I want to minimise the texture distortion.

I guess I could just use something like HDRshop to change the mapping from cube to spherical, but with Max I could do so much more..!
read 552 times
2/13/2009 5:30:00 AM (last edit: 2/13/2009 5:30:00 AM)
show user profile  BishBashRoss2
You could render the scene with a 360 spherical cam.


I mean, invert the normals of the mapped cube, and render with the 360 cam in the middle.

read 542 times
2/13/2009 6:13:36 AM (last edit: 2/13/2009 6:30:18 AM)
show user profile  rhumba
Hiya, that was a good suggestion. I went for that way of doing it, but found my tool in the Panorama Exporter (I don't seem to have 360 spherical cam in Max8).
Thanks for all help!


By the way, if anyone else is interested, this is how I did it:

Start with the cube, centred at the origin and texture mapped with the cubemap. Make sure the material has Self-Illumination at 100. The normals of this cube should face inwards, as is typical for skyboxes.
Place a free camera at the origin, pointing along the x-axis.
With the camera selected, choose Render->Panorama Exporter->Render..
Choose a nice largish image size and Render. Then export as a Spherical map (found in viewer->export).

That's it, you can try the new map out on a sphere. Reset and create a sphere (not geosphere), and assign this map you just made to this sphere. If all went well, it should be seamless and quite high res.
read 504 times
2/14/2009 2:32:05 PM (last edit: 2/14/2009 2:49:28 PM)
#Maxforums IRC
Open chat window