A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
UV unwrap contiguous edges
Posted: 23 January 2022 09:34 PM   [ Ignore ]  
Total Posts:  434
Joined  2012-01-05

Hello

I have an interesting challenge to figure out.  I have a model of a room, and all the walls of this room with be projected on.  I need to create a UV unwrap of the room to have the content extend across all surfaces continuously.
Here is a screenshot of the room
https://www.dropbox.com/s/mp62wsdt2he2qp7/2022-01-23_22h29_39.png?dl=0
And here is a screenshot of my UV Unwrap
https://www.dropbox.com/s/lbzi58s8czte732/2022-01-23_22h31_24.png?dl=0

The problem I have is that between the orange and the pink surfaces, there is no contact with the green, which is the floor.
So any lines that have to go from walls to floor don’t align.
What is a good workaround for this?  Is it to do some kind of UV relax?
Here is a simplified model of the room with my UV’s
https://www.dropbox.com/s/si8pxsbzt0ftpmm/SimpleRoom.c4d?dl=0

Thanks!

Profile
 
 
Posted: 23 January 2022 10:40 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks a lot for the files and for using Dropbox, Alex.

I love those questions, and I’m happy to have a look at it.

More information is needed about the projection or what you need to have as output to get the information into the four-panel (3 walls + floor) room. I hope with some extra information to form an idea.

For now, all I see is a many century-old challenge to wrap a flat (a map) around an object (e.g., a globe) and have no folds, wrinkles, or any distortion to it. I even have a complete book about this problem here. (Discussing Mercato or equirectangular projection.)

Two critical questions:

How is the 3D representation of that room getting the information on the walls?
How will it be projected practically? (A few single projectors or an LED-Volume). I assume it is animated.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 24 January 2022 10:23 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  434
Joined  2012-01-05

Hey Sassi

So there will be a pixel map created by a projector vendor.  I believe it is a 12 projector setup, but I don’t have all the info yet.  The vendor is supposed to provide us with a pixel map, but we can inform the vendor on what we are in need of.  This pixel map will go to various content creators on the team.

Does that answer your questions?  Yes, it is an age old problem, which is why I have fingers crossed that people have found solutions! 

Thanks Sassi!

Profile
 
 
Posted: 24 January 2022 11:21 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks a lot, Alex.

Sorry for the delay; I had to dig a little bit deeper. My understanding about Pixel Mapping is more located in the stage light department, where one can place an image (or video) into a “light wall” (many bulbs, simplified) via DMX, for example. I learned that some companies use this term now for video projections as well, often coming from single laser beam projection, effect light not producing images. So, I know now more, but not less confused about this project.

I can see how a dozen projectors can cover that area, but I’m unclear what they will provide you. Having said that, so far, it feels like the last project, while this one has a simpler geometry, not so “cave” like at all.

I can offer to look into any additional information, and I’m certainly highly interested in finding a solution. If there is anything more that you could get from them, I’m happy to explore it. If I could see a single Pixel Map for this project, containing all 12 sources, even small, I will start working on it.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 26 January 2022 04:36 PM   [ Ignore ]   [ # 4 ]  
Total Posts:  434
Joined  2012-01-05

Hey Sassi

So I got some extra info.  We basically have a setup where we have two media servers.  One is hitting the floor with 3 projectors.  The other setup is 3 projectors hitting the main all and side walls, and then two extra projectors covering the curved corners.  The media server will take a single pixel map for the walls, and another one for the floor.
What we are trying to figure out in our content pipeline is ways to create content that will transition from wall to floor, even though they are not connected in the pixel map.
Does that make sense?

Thanks!

Profile
 
 
Posted: 26 January 2022 07:00 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks a lot, Alex,

So I assume the wall file is a 3x3 HD image/footage, making it a 6K source file.

I assume ( and that is the uncomfortable part, as assumptions lead to problems) that the images (1 to 9) are expected to be ready to use in the projector. This means to set up a camera in the scene for each image and combine the results in a “contact sheet” like the result.

The other assumption is that the wall is flattened out, and they do the perspective distortion.

Which one is it? grin

So far, what is not clear is this content created in a 2D app and applied in Cinema 4D? Or a direct result of Cinema 4D.
Are people walking inside of it, or is it a room that can be seen from the outside and provide the illusion of a larger scene?

Sorry about all these questions.

Here is an example file; check the two top cameras.
https://www.amazon.com/clouddrive/share/kLQHXtgqVQIlnMitFWJCjlc2IpntkSw2GztvaZYGPHO

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 26 January 2022 09:31 PM   [ Ignore ]   [ # 6 ]  
Total Posts:  434
Joined  2012-01-05

Hey Sassi

So the pixel map is actually much bigger as these are 4k projectors.  Once I have a pixel map I will share.
But I think they are not doing a perspective distortion, they are just hitting each wall straight, and using projectors pointing at the curved corners to deal with focus changes.  So I think it is like your first assumption, taking into account blend zones.

The content will be created in several apps, AE, C4d, Houdini and more.  But we can certainly give the 2d animators a c4d UV map and let them align the content in there.
Your solution seems pretty great, but in the end we will still have to deliver the content in a “flat”, non perspective distorted pixel map…
Does that make sense?

Thanks!

Profile
 
 
Posted: 26 January 2022 11:14 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thank you for the feedback, Alex.

Any content created in 3D can be rendered as an equirectangular image and projected from the same point in space as a spherical map back to the geometry. This is true for this geometry, as we can “see” everything from one point; nothing occludes something else. Again, Rendering camera and projection needs to match in position (nodal point stuff…)

In the file below, I went through four steps to create a 3D animation then render an equirectangular. After that, it is projected to the Geometry as Spherical (the same position as the 360 camera. From there, it was baked while keeping the UVs.

The baked content is then used to cover the UV texturing and, if needed using the UV to Mesh “Capsule”. I scaled the flat projection to SZ 0.667 to keep the typical equirectangular ratio of 2:1.

I hope all of that makes sense. This should allow to get all parts into the scene and fits the PixelMapping, which is then placed into the app that defines the projector use.

Files
https://www.amazon.com/clouddrive/share/dxolKtMGrs4ejEduQO2LnFyCuHatku0P47dece7DxHP

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 29 January 2022 12:13 AM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: Here are two simplified setups to showcase the problem of continuously mapping in a 3D object while the texture or the projection is distorted.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 29 January 2022 09:38 PM   [ Ignore ]   [ # 9 ]  
Total Posts:  434
Joined  2012-01-05

Hey Sassi
Sorry for the late reply, I was looking into this more deeply and talking to the video tech team.

Your setup makes a ton of sense, and is really a great approach.  The only step I don’t understand is your second file in the batch.  What is going on in that one?

Also, I need to learn how capsules work…Is that just a node setup that gets “encapsulated” as a deformer?

Thanks!

Profile
 
 
Posted: 29 January 2022 10:02 PM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, Alex.

Please never feel pressured to reply; even it is nice to “hear” if something worked.

The Capsules are a “wrapper” around a node-based setup. You can find them in the Asset Browser> Operators.
A real power tour through a few of them can be found here:
https://youtu.be/3DQKbJ2xWgo

I used the UV to Polygons here to showcase things. It takes a UV mesh and converts it to a Polygon Mesh.

The …REeq_01.c4d file? That is just a step between files 01 and 03. I use a finer mesh first when I store a projection inside the UV mesh (Generate UV Coordinates). I might remember my earliest Little planets that I shared in the PXC nearly two decades ago. I have translated several of these methods into Cinema 4D, as the engine allows me to develop much larger than some Ps plug-ins do while keeping it in 32bit/float.
Example
https://www.youtube.com/watch?v=T_iyfeUXyro

I think I can say, without sounding like bragging, that I have a deep understanding in this area, yet, I line up with many people of the past hundred years who can’t unwrap the Earth-sphere into an undistorted flat rectangular representation. But that is pretty much needed when the room needs to be covered by a seamless and undistorted image. Hence my questions about what is needed. The more I know what I can exclude, the closer we can get maybe to something workable. Perhaps only a specific part of the floor needs to be connected, or it can be layered each time just the floor and one wall. Then another layer with a different layer, on end it appears as if the whole is connected. But that is not up to me to define. I can only point out where a problem is and research possibilities.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 29 January 2022 10:27 PM   [ Ignore ]   [ # 11 ]  
Total Posts:  434
Joined  2012-01-05

Yes, that makes sense.
I’m going to dive deeper into some workflows and will definitely come back with some details and questions.

Thanks again!

Profile
 
 
Posted: 29 January 2022 10:47 PM   [ Ignore ]   [ # 12 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks for the reply, Alex.

Yes, please let me know; I would love to find the best solution for you.

Enjoy your weekend.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 31 March 2022 01:57 PM   [ Ignore ]   [ # 13 ]  
Total Posts:  434
Joined  2012-01-05

Hello Sassi!

I’m following up on this topic to let you know that your solution worked perfectly!  We were able to use your approach but also to skip the final UV unwrap because our Media server (Software called Disguise) allowed us to import the spherical camera directly into the software and let it translate that into the actual data going to the projectors.  That was a huge time saver…

Thank you!

Profile
 
 
Posted: 31 March 2022 04:36 PM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Very nice of you, Alex!

Thanks for taking the time.

My best wishes for the project!

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile