How to correctly save an obj. to be used in VR.

I created a group of four magazines attaching jpgs of my art to look like my art is on these magazines and I want to save the group of four magazines as a single obj. so the textures are attached and can be exported to Unity to be used eventually in VR. I want it to appear to be about 6 feet tall when standing next to it in VR. I have no idea how to save this correctly. 1 unit = what? What do I check off in the boxes so it’s one texture attached to the obj instead of a bunch of separate ones. It has iRay settings and I have no idea if that will work in Unity. Also, how can I tell how many polygons it is? Thanks for your help! 

Comments

  • Catherine3678abCatherine3678ab Posts: 8,401
    edited August 2021

    Providing that those 4 magazines are indeed one .obj - you could apply a 3D shader and run Texture Atlas. Export out an .obj [any size setting] [same as you would for a morph, no groups], then bring it back in to make the new uvset. Save the new uvset. It will put all the textures on to one page. I don't think it recognizes Iray.

    But once you have the new uvset, apply that, go back to Iray shaders and export out the .obj. Object files do not carry shader information though. As far as Unity etc. goes hopefully somebody who knows will come by and answer those questions.

    Post edited by Catherine3678ab on
  • WonderlandWonderland Posts: 7,040
    edited August 2021

    Ok thanks. This seems really complicated. The way I saved it from DS, it came out with an obj, mtl file and a folder called maps. I sent it to a friend from VR to see if he can figure it out, but he’s new to Unity. Maybe I’ll post in the Unity section. 

    But does anyone know if the maps will automatically load in the right place or if they have to be poisoned manually in another program? 

    Post edited by Wonderland on
  • FSMCDesignsFSMCDesigns Posts: 12,780

    Wonderland said:

    Ok thanks. This seems really complicated. The way I saved it from DS, it came out with an obj, mtl file and a folder called maps. I sent it to a friend from VR to see if he can figure it out, but he’s new to Unity. Maybe I’ll post in the Unity section. 

    But does anyone know if the maps will automatically load in the right place or if they have to be poisoned manually in another program? 

    The few times I have imported obj into unity I have had to retexture them and set up materials in Unity. I guess I need to play with it more since that is the goal of mine to import scenes more into unity for VR use. Alicia, you try posting this in the unity bridge forum

  • WonderlandWonderland Posts: 7,040

    FSMCDesigns said:

    Wonderland said:

    Ok thanks. This seems really complicated. The way I saved it from DS, it came out with an obj, mtl file and a folder called maps. I sent it to a friend from VR to see if he can figure it out, but he’s new to Unity. Maybe I’ll post in the Unity section. 

    But does anyone know if the maps will automatically load in the right place or if they have to be poisoned manually in another program? 

    The few times I have imported obj into unity I have had to retexture them and set up materials in Unity. I guess I need to play with it more since that is the goal of mine to import scenes more into unity for VR use. Alicia, you try posting this in the unity bridge forum

    Yes. I just posted there. I also saved it as an fbx which seems to allow textures attached. I should probably download Unity and try to figure it out myself at some point because I’m creating worlds in AltspaceVR but so far have only used their native assets. I’m submitting my world (a sci-fi pinup art gallery)  for the virtual Burning Man and they wanted an obj to put on the Playa as a marker for the portal. Are you ever in AlspaceVR? 

  • FSMCDesignsFSMCDesigns Posts: 12,780

    Sounds cool. What modeling app are you using to create the world?

    I have thought about Altspace a few times, but my experiences with VRChat and rec room haven't been all that great

  • WonderlandWonderland Posts: 7,040

    FSMCDesigns said:

    Sounds cool. What modeling app are you using to create the world?

    I have thought about Altspace a few times, but my experiences with VRChat and rec room haven't been all that great

    i just used the models that came with Altspace to create a cool sci-fi gallery/party space and blew up jpgs of my art so they look huge! There are a lot of existing models in Altspace and you can get creative with them by changing their sizes or mixing things together. They are VERY low poly but need to be. I do want to learn Unity though eventually. Some people have created amazing mansions and other fantastic worlds. 

    Alstspace is NOTHING like VRChat or Rec Room! Don’t go to the campfire though. Check out the events. Almost everyone I meet is 30’s, 40’s, 50’s and up! I’ve met filmmakers, animators, special fx and many others from the film/TV industry and game/VR companies. Most are creators, professionals in business and several experts in Unity. I’m going to a creator’s event later and will ask some questions about Unity. Everyone is really friendly and helpful. Check out all the events. It’s very rare to see any children there and many events are 18+. Children get bored quickly if they pop into a professional business event and leave or are kicked out if they are disruptive, Most children stay away from Altspace because it’s really not geared toward them. During the day there are great seminars, meditation and professional networking events and at night there are parties where most people are drinking (or partaking of Cannabis.) Also for Europe, there can be parties in the morning or afternoon. Comedy shows also with adult material. There really isn’t anything kid-friendly there. Altspace got me through Covid lockdown! 

  • Catherine3678abCatherine3678ab Posts: 8,401
    edited August 2021

    Wonderland said:

    Ok thanks. This seems really complicated. The way I saved it from DS, it came out with an obj, mtl file and a folder called maps. I sent it to a friend from VR to see if he can figure it out, but he’s new to Unity. Maybe I’ll post in the Unity section. 

    But does anyone know if the maps will automatically load in the right place or if they have to be poisoned manually in another program? 

    What you did sounds fine. I was under the impression for some reason [could be lack of caffeine] that you wanted all the textures together on one page too. That's what Texture Atlas can do. We all have it in D/S.

    Post edited by Catherine3678ab on
Sign In or Register to comment.