-2
$\begingroup$

I took a screenshot of the restaurant and I tried to use it as environment texture in cycles but it didn't work. On the attached image you can see what happened.

texture

I know that I can find a lot of environment texture on internet,but I would like to use a 3D model as base,for many reasons :

1) a lot of environment textures cannot be used because they are copyrighted

2) a lot of environment textures found on the net are not suitable for the needs

3) the environment textures found on the net are harder to modify than a 3D model

4) I haven't a camera and I'm not a photographer

5) on internet there are a lot of 3d model scenes to use

6) to render a full 3d model scenes takes time and it needs powerful computers

For example,now I used this 3D restaurant scene :

http://www.blendswap.com/blends/view/73530

I would like to understand how to convert a non environment texture into an environment texture.

$\endgroup$
7
  • $\begingroup$ Anyway,I placed the camera on the middle of the room with coords X= 90 ; Y=0 ; Z=90 and I rotate it on the Z axis until these coords : X= 90 ; Y = 0 ; Z = -270 and everytime that I rotated the camera of 10 degree I took a screenshot. At the end I stitched all the screenshots and I created this picture : postimg.org/image/bd5mdrp8h ; it seems good,but when I use it as environmental texture,it is not nice. $\endgroup$ – Marietto Dec 7 '16 at 21:31
  • $\begingroup$ I added a blender file to show you how the panorama file looks like when configured as environmental texture. $\endgroup$ – Marietto Dec 7 '16 at 21:45
  • $\begingroup$ What is "the restaurant"? $\endgroup$ – JakeD Dec 7 '16 at 21:49
  • $\begingroup$ yes. the goal is to create an environmental texture starting from the 3d model of the restaurant. I used autostitch to stitch all the screenshots taken by rotating the camera,but as you can see,it looks bad. $\endgroup$ – Marietto Dec 7 '16 at 21:51
  • 1
    $\begingroup$ Then follow my instructions in my answer, and hit render. Don't do anything with what you've done rotating the camera around: just do it correctly with an equirectangular camera. $\endgroup$ – JakeD Dec 7 '16 at 21:56
2
$\begingroup$

Add a panoramic, equirectangular camera. Done.

enter image description here

Result:

enter image description here

$\endgroup$
4
  • $\begingroup$ it didn't work. check here : postimg.org/image/7aii5b1xn/81ec2b8f $\endgroup$ – Marietto Dec 6 '16 at 16:49
  • $\begingroup$ I'm using a non equirectangular texture,but I want to convert it into an equirectangular texture. $\endgroup$ – Marietto Dec 6 '16 at 17:51
  • $\begingroup$ If it isn't a 360 environment texture, it never will be. I am answering your question about how to render out a 3D scene as an equirectangular environment texture. $\endgroup$ – JakeD Dec 7 '16 at 21:49
  • $\begingroup$ In the screenshot of where you say it "didn't work," you simply added the bad texture as the background for the environment. That isn't what I was intending in my answer: you should add an equirectangular camera to the scene that you want to make an environment map from (in this case the "restaurant." $\endgroup$ – JakeD Dec 7 '16 at 21:59
0
$\begingroup$

maybe it will help you the answer yourself if you want to use the image you have taken as an environment texture for LIGHTING, or if you want to use it as a BACKPLATE for visualisation purposes. If you want to use it for lighting, a simple photo will not work as it is not a spherical image. Imagine you would take a big highly polished into the restaurant, and then you take a photo of what you see in the mirrored ball you have put on the table. Thats what an environment texture needs to look like.

If you want to use the image as backplate, so that it looks like the restaurant is in the background, you need a plane uv unrwapped to the image, and then use the emission shader as output. This lead to the task of camera mapping:Image as plane, Backplate

What i'm trying to explain is that you divide environment lighting from background appearance.

Do you need more information? I hope thi will help you out.

Regards, Karl Andreas Groß

$\endgroup$
3
  • $\begingroup$ thanks man,I sent you an email here : pixelpoems.de/home/english/contact $\endgroup$ – Marietto Dec 6 '16 at 23:43
  • $\begingroup$ thank you for your message. Please be so kind to use this forum instead of private messaging; others may benefit from reading here. you asked the following: "it seems good,but when used as environment texture,it is not :( ...but why ?" Unfortunately, your question is not clear to me. Please clarify the following: 1) is this image postimg.org/image/6huuvrwun a viewport render or the stiched panorama image? it looks rendered. 2) if 1) is a viewport render, please post the environment texture, opened in the image editor 3) Provide a screenshot of the environment world node setup $\endgroup$ – pixelpoems.de Dec 7 '16 at 18:02
  • $\begingroup$ 1) is this image postimg.org/image/6huuvrwun a viewport render or the stiched panorama image? it looks rendered. yes,it is,because I took the screenshots by rotating the camera clockwise and then I stitched using a tool 2) if 1) is a viewport render, please post the environment texture, opened in the image editor postimg.org/image/6huuvrwun 3) Provide a screenshot of the environment world node setup postimg.org/image/fcx1y79lt $\endgroup$ – Marietto Dec 7 '16 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.