Announcement

Collapse
No announcement yet.

Image scale in object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Image scale in object

    How to scale the image so that it fits all in the screen?



    Thank you.




    Original image:

    Click image for larger version

Name:	image_38456.jpg
Views:	146
Size:	397.5 KB
ID:	966521





    Node tree:

    Click image for larger version  Name:	node tree.png Views:	2 Size:	131.4 KB ID:	966523





    Render result:


    Click image for larger version  Name:	vfb.png Views:	3 Size:	161.9 KB ID:	966525



    Attached Files
    Last edited by eosek; 06-09-2017, 04:48 AM.

  • #2
    Write something

    Comment


    • #3
      If screen mesh has UV simply use UV mode.
      V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
      andrei.izrantcev@chaos.com
      Support Request

      Comment


      • #4
        How to do it UV mode? UV form Image file or from UV/Image editor?

        Comment


        • #5
          Go to the UV editing mode in Blender, and adjust your UV mapping as needed. (Right now you have to change renderer to Blender or cycles to see the texture show up in the viewport.) Once you have the image adjusted where you need it, change the Mapping settings to "UV"
          If you want to have dark bands above and below the image and you don't want to fiddle with decal settings, you may need to split up the faces of the projector screen and map a blank screen color above and below.

          Comment


          • #6
            So I have. My photo in projector screen have 1920x1080 and I can not place to in full size as original image (see render result). Scal with transform das not produce result.

            Click image for larger version

Name:	Zrzut ekranu 2017-09-06 o 18.29.16.png
Views:	78
Size:	152.1 KB
ID:	966593

            Comment


            • #7
              You don't need the transform node if you've correctly mapped your texture in Blender.

              Comment


              • #8
                Here's a really quick sample of what I mean. Blend file attached in the zip archive.
                Attached Files

                Comment


                • #9
                  Thank you. It is works, but still cutting image, see my example. Click image for larger version

Name:	Zrzut ekranu 2017-09-06 o 20.07.08.png
Views:	73
Size:	465.7 KB
ID:	966610

                  Comment


                  • #10
                    Until you adjust the UV mapping in Blender, it will keep cropping your image.

                    Comment


                    • #11
                      Still cutting image, see my example.


                      Click image for larger version

Name:	Zrzut ekranu 2017-09-06 o 20.41.03.png
Views:	158
Size:	2.28 MB
ID:	966619

                      Comment


                      • #12
                        In your screenshot it looks like you still have "projected" mode selected in the image file node mapping settings. Try changing that to "UV"

                        Comment


                        • #13
                          Now, see may example.



                          Click image for larger version

Name:	Zrzut ekranu 2017-09-06 o 20.56.41.png
Views:	156
Size:	2.03 MB
ID:	966625

                          Comment


                          • #14
                            Take a look at my test file a few posts up: https://forums.chaosgroup.com/filedata/fetch?id=966597
                            You'll need to split up the face of the projector screen and rotate and rescale the UV until it fits. (If you want to see the openGL view of the textures, you'll have to switch your render engine to "Blender" from "Vray" because textures don't show up in the viewport with Vray selected.)
                            Last edited by andybot_cg; 06-09-2017, 12:12 PM.

                            Comment


                            • #15
                              Thank you very much.

                              Comment

                              Working...
                              X