Previous Thread  Next Thread

chat icon Spherical UV Mapping?

Bischofftep

Posted: Fri Feb 28, 2003 9:45 pm
Joined: 06 Feb 2003
Posts: 37
Hello, all:

Just wondering where "Spherical UV Mapping" went in 2.25-2.26?

Is it really not useful, or did it just get axed?

Anyone have any idea?

-Bischofftep
Reply with quote


crazy

Posted: Thu Mar 06, 2003 6:25 am
Joined: 06 Mar 2003
Posts: 1
Actually, I already mentioned it to the programmers just a few weeks ago. The option should be back in the next release. Wink

The reason i wanted it back was so that i could properly UV texture a sphere before exporting it to Yafray
Reply with quote


Jamesk

Posted: Thu Mar 06, 2003 4:06 pm
Joined: 14 Oct 2002
Posts: 239
A few versions back there was a really weird bug in the spherical uv calculation... I guess it was easier to kill it temporarily =)
Reply with quote


VelikM

Posted: Tue Apr 08, 2003 6:48 pm
Joined: 14 Oct 2002
Posts: 80
Spherical UV mapping is in:
blender/source/blender/src/editface.c :
You can add it back in by adding:
MENUSTRING("Spherical map", UV_SPHERE_MAPPING)
to the:
mode= pupmenu(MENUTITLE("UV Calculation")
section.
The case for spherical is combined with the cylinder mapping:
case UV_SPHERE_MAPPING:
case UV_CYL_MAPPING:
and uses if else statements to determine which function to call. It does give so so results but is better that trying to use the other mapping methods to apply a texture to a sphere.
For the adventurous, the code for spherical mapping is in:
source/blender/blenkernel/intern/texture.c:
spheremap(float x, float y, float z, float *adr1, float *adr2)
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group