Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

rendertarget aspectratio an angle of view

Please report bugs in this group. We will maybe populate a list of known bugs with a possibly modified description at a later time.

Moderator: Support

Post Reply
User avatar
s-petersen
Posts: 16
Joined: 25 Mar 2015, 11:07
Location: wuppertal | germany
Contact:

rendertarget aspectratio an angle of view

Post by s-petersen » 25 Mar 2015, 12:05

hi there,
i have a realy simple setup:
color axis rendertarget texture texture rectangle

i will only send the mixed texture into a rendertagret to render it on another rectangle, both have the same aspect (1:1)

the rendertarget renders i project aspect, doesnt matter is screenaligned or not.
the rendered texture is also not centered, or it is "scenecentered", means my rendered texture is not centered on my rectangle.

if i put a projection between rendertarget and textures i can "calibrate" my rendered texture on my rectangle.
but,
now i want to safe the rendered texture into a folder, and the saved image showes the "original" (not projected) rendered texture.

vza is attached.

is this a bug, or i have to read the manual correctly?

cheers

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: rendertarget aspectratio an angle of view

Post by lerou » 25 Mar 2015, 15:59

s-petersen wrote:vza is attached.
It's not ;)

cheers,
rou

User avatar
s-petersen
Posts: 16
Joined: 25 Mar 2015, 11:07
Location: wuppertal | germany
Contact:

Re: rendertarget aspectratio an angle of view

Post by s-petersen » 26 Mar 2015, 11:42

ups,

here it is.

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: rendertarget aspectratio an angle of view

Post by Karol » 26 Mar 2015, 17:42

Where?

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: rendertarget aspectratio an angle of view

Post by lerou » 26 Mar 2015, 18:07

s-petersen wrote:ups,

here it is.
After selecting the file you have to upload it. It's a bit confusing compared to other forums.

cheers,
rou

User avatar
s-petersen
Posts: 16
Joined: 25 Mar 2015, 11:07
Location: wuppertal | germany
Contact:

Re: rendertarget aspectratio an angle of view

Post by s-petersen » 27 Mar 2015, 07:20

i did.
ahhh, now i get the message...its too big.
so, here we are. next try.

cheers
Attachments
Texturesnapshot_bug.vza
(1.21 MiB) Downloaded 312 times

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: rendertarget aspectratio an angle of view

Post by lerou » 27 Mar 2015, 07:56

Hi,

I'm not completely sure what you want to achieve. But you do have a few nodes that transform your objects. Disable the axis in front of and the projection behind your rendertarget. Now the texture is centered. Also you should not apply a mapping to your rectangle if you expect the saved file to look exactly like your rendered rectangle. The texture mapping is applied during rendering, it is not applied on the stored file.

If you have no projection setup, the default projection is applied. And since you have a square texture, your result is not square any more (a 16:9 image is mapped to a square rendertarget). This is sometimes a bit confusing. You should use an orthogonal projection behind your rendertarget. Set it to width = 1, height = 1. Don't scale the rectangle and you'll get a completely filled rendertarget. Now apply that to your rectangle without any mapping and your texture fills up the whole rectangle.

Scale down the rectangle in the rendertarget and you'll shrink the texture on your target rectangle and the saved file.

If I misunderstood you and you wanted to achieve something else, please feel free to ask again :)

Attached is a file with the modifications I mentioned.

cheers,
rou
Attachments
Texturesnapshot_bug_rou.vza
(1.18 MiB) Downloaded 289 times

User avatar
s-petersen
Posts: 16
Joined: 25 Mar 2015, 11:07
Location: wuppertal | germany
Contact:

Re: rendertarget aspectratio an angle of view

Post by s-petersen » 27 Mar 2015, 15:54

hi rou,

got it. and start to understand the technical things behind that.
thnx a lot. helped in both ways ;)

cheers
sven

Post Reply