Warping 2 objects with seamless content

Warper & Mapping related questions

Moderator: Moderator Group

Warping 2 objects with seamless content

Postby lucken » Mon Jan 11, 2010 5:01 pm

- attached a picture
- the rectangles are two projection surfaces
- this projection has to be done with one projector
- what i want is that projection is only done on these two rectangles
- between the 2 screens is a gap
- but when you see the content on the rectangles, it must be like there is no gap
- so exactly like on the picture
- how do i realise this with Gmax ?
- when i make a gap between the two rectangles
- add a UVW map on it
- apply the material, then there is a part missing, the part between the two rectangles
You do not have the required permissions to view the files attached to this post.
User avatar
lucken
 
Posts: 131
Joined: Fri Jul 25, 2008 4:11 pm
Location: Lebbeke - Belgium

Re: Warping 2 objects with seamless content

Postby Julia Foest » Mon Jan 11, 2010 5:30 pm

Hi lucken,

do it the other way round, eg:
- create two planes
- add UVW mapping over both selected planes
- adjust the UVW mapping (the material is shown over both planes)
- move the planes to their right position, they will keep their part of the UVW mapping.
- when everything is adjusted (maybe also used edit mesh or FFD) attach both planes and export selected.

Best regards,
Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Warping 2 objects with seamless content

Postby rik uyttersprot » Wed Jan 13, 2010 5:04 pm

Hello Julia,

I want to do this with 4 screens (2 for each projector)
I can create the objects for the outputs, i have now 4 screens with gaps in between and i'm not loosing any information.
so far so good.
now i want to create objects for each layer so i can do:
screen 1 and 4 identical image
screen 2 and 3 one image stretched
screen 1,2,3,4 identical image
and so on.
all i have to do is playing with the uvw mapping.

I just do not understand how to know wich size the planes have to be and wich location they need.
for now it never fits.

the setup is easy each gap between the screens has the same size as a screen itself and there are 4 screens.

How do i have to start to create these objects?
(after i have this to work we can talk again about the other project :) )


greetz Rik
rik uyttersprot
 
Posts: 17
Joined: Wed Dec 10, 2008 11:34 am
Location: Lebbeke - Belgium

Re: Warping 2 objects with seamless content

Postby Julia Foest » Mon Jan 18, 2010 12:06 pm

Hi Rik,

what I did:

Settings in PB
--> apply a x-offset to the cameras
--> move eg. layer one in x pos, so that it fits to cam1, same for layer 2 / cam2.

Starting in gmax. Do the following steps for each output:
1. Create two planes and position them so that they fit with your two panels (let´s assume, that you do not have to warp!)
2. make a copy of each plane (just hold down SHIFT while clicking on it). Now you can move the planes (if you need it) and you always know where there right position is, if you want to move them back to it.

Please note:
When exporting the objects in gmax via PB Exporter, the object to be exported has to have its pivot in 0,0,0 (otherwise it won't fit in PB). If you are still using the Flightsim Aircraft Exporter, you don't have to do this.
So, before exporting the object, go to Hierarchy Tab, select [Affect Pivot only] and enter 0 for each axis that differs from this value.
Click on Reset-> Transform in the Hierarchy Tab and then export the object.

pivot.jpg

How to do:
a) screen 1 and 4 identical image:
--> select the plane for screen 1, apply UVW-Map, export the object.
--> do the same for the other output and the according object
Apply the objects to the layers.

b) screen 2 and 3 one image stretched
--> select the plane for screen 2
--> copy it and place it directly right from plane 2
--> select both, apply UVW-Map, click in the Alignement for the UVW Mapping on Y and Fit
--> stretch the UVW-Mapping over both planes
--> select only the copied plane, delete it again
--> export plane 2 (now it has only the left half of an image applied)
--> do the same for screen 3 (of course place the copied plane to the left side of plane 3)

c) screen 1,2,3,4 identical image
--> for the first output: apply UVW-Mapping to plane 1, then apply one for plane 2.
--> apply Edit Mesh Modifier to one of the planes
--> click on Attach and select the second plane, release the Attach button.
--> export the object.

d) one image over all 4 screens (no gaps between)
--> output one: plane 1 one right position, take plane two (still have a copy of plane two at its right position) and place it next to plane 1
--> select both planes, copy both planes and place the copied selection right next to plane 1 and 2.
--> Select all four planes
--> apply UVW-Map and stretch it over the 4 planes
--> delete plane "3 and 4"
--> take plane two and move it back to its real position
--> apply Edit Mesh Modifier, attach the other plane to the selected one
--> export the object.
--> do the same for the second output.

The result for d) is the following:
one_over_all.jpg

Hope this helps!

Best regards,
Julia
You do not have the required permissions to view the files attached to this post.
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Warping 2 objects with seamless content

Postby rik uyttersprot » Wed Jan 20, 2010 11:21 am

Hello Julia,

This works but is not completly what i'm trying to do.

I wanna use the objects on each different layers for example one layer plays a media loop stretced to the 4 screens and another layer put on each screen a the same picture.

So i can not do this with objects on the cameras.

I have created already objects for the cameras to have the projection only on the screens and get the warping wright.

I now have to creat one object with all the screens into it. but i don't know how to start and how to calculate wich scale i have to use to get the reality into the drawing.

greetz Rik
rik uyttersprot
 
Posts: 17
Joined: Wed Dec 10, 2008 11:34 am
Location: Lebbeke - Belgium

Re: Warping 2 objects with seamless content

Postby Julia Foest » Wed Jan 20, 2010 11:59 am

Hi Rik,

I didn´t mean to put these objects on the camera, but on the layers.
I do not how to calculate an object for the layers when the cameras already have objects added.
Especially one object that will be projected over two different projectors. Sorry.

If you only use objects on the layers, you will just need one more layer as if having objects on the cams for the stretched background (from what I understand).
And then it would be easy adjusting the objects on the screens.

Not good?

Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany


Return to Warping

Who is online

Users browsing this forum: No registered users and 5 guests