Jump to content

Model Building


IvyTechEngineer
 Share

Recommended Posts

13 hours ago, IvyTechEngineer said:

Also, I still don't understand why the STL file has so many issues with it's geometry. along some of the cut edges. 

Probably because Solidworks is cutting with the equivelant to Blenders Bollean tool/modifier.

Link to comment
Share on other sites

  • 2 weeks later...

Hello

I have another project for my students that uses AutoCAD to possibly draw a house in Second Life. There are several challenges with this assignment.  Converting feet and inches to meters can be an issue for some students. We can do that but I am sure some students will have problems or forget. Maybe we can upload a common dimensioned floorplan and students can build the house on top of the floorplan image? 

A 3D model of the house will give students a better appreciation of the design. I would assume I could scale the image to 2K and even use it in Blender to create a model. That could be fun but I want to start with the SL build first. Any suggestions?

Thanks

IvyTech 

Screenshot 2024-02-13 081442.png

  • Like 1
Link to comment
Share on other sites

5 hours ago, IvyTechEngineer said:

A 3D model of the house will give students a better appreciation of the design.

Yes, that's potentially a great use for Second Life. I assume you want your students to be able to walk around inside the house to get a feel of how it works and that causes a few problems.

SL avatars tend to be considerably bigger than RL humans so you want to make special avatars to match RL scale.

The default camera position far behind and above the avatar won't work inside an RL scale building and even a modern "game style" camera position is too far off to really give the level of immersion you need. So you want to go into mouselook.

Both these issues can be solved when you're aware of them but there's a third one, walking speed. In SL it's about twice as fast as in RL. Try to move around in your RL house at a brisk jogging speed and you see the problem. A don't know any solution to this unfortunately. The CtrAltStudio viewer, which was specially made for VR headsets, solved it by continuosly starting and stopping the movements but I don't think any current viewer has any similar function.

  • Like 1
Link to comment
Share on other sites

I'm not expecting you to do this but just letting you know that if necessary you can walk around your build in Blender. :)

In Object mode > View > Navigation > Walk Navigation   (Right mouse click this option and Add to Quick Favourites).

Adding to Quick favourites makes it easier to switch to this walk about navigation mode.

savetoQuickfavourites-min.thumb.png.2737b69299d5266077adcc8286fc79ad.png

Now when ever you want to go walk about, in Object mode hit the Q key to open your Quick favourites menu and choose this Walk Navigation mode.

In this mode  cross hairs will replace the mouse cursor.  Position the cross hairs at the place you want to start your walk and hit the space bar.  Use the arrow keys and mouse to move around the build.

Left or Right click to return to the normal navigation again.

walk-min.gif.580bcbe468859d28092ca01cd8b87083.gif

 

Some Walk options can be set in Preferences.

Walkpreferences-min(1).thumb.png.c2ec66676af4f1d7e68e1eef1147dfbb.png

 

Oh and make sure the ground plane is very big because if for whatever reason you fall off its a very very long way down..........

Link to comment
Share on other sites

Hey thanks for your efforts on the house, it is very cool. I have already created an STL file from Solidworks and the tris are only 370.in Blender. We are using AutoCAD this semester and I wanted to try my hand at drawing in SL. Do you have refence material on converting the floorplan into a 3D model? I need to do some more work in Blender to be able to draw a floorplan but maybe that will be the next thing I do. I was wondering if there is an object snap feature in SL. I am sure some of my walls are not exactly in the right location. I only use the SL Viewer and not Firestorm. 

Ivy

Link to comment
Share on other sites

On 9/30/2021 at 11:33 PM, arton Rotaru said:

For more complex meshes it's often best to create a second texture just for the Lowest LOD. In 3ds Max I project the texture of the hi LOD onto an imposter model. In this case this would be just a bottomless cube. With leaving some room for the imposter UVs in the original UV layout it's even possible to have those 2 textures just as one, which is preferable indeed.

Hi @arton Rotaru  I realise you posted this comment two and half years ago but I see both you and the thread are still active so I am not sure this is officially necroposting. Anyway…

Please can you go into more detail on this process using 3DS Max? 

I am unsure exactly what texture is being projected? Are we talking about rendered images of the final model on alpha backgrounds, one for each side? Also not sure what you mean by projected.

When you say imposter model, these are the polygons that make up the lowest LOD i assume and do these polys need to be hidden in all the higher LOD models?

What % of the UV space would you use for the imposter UV’s on for example a chair with a single texture at 1024x1024?

Thanks alot for any info you can provide, it seems like an excellent idea, I'm just not sure of the best method to achieve it.

Thanks.

Edit: Here is arton's answer if anyone is interested.

Edited by Porky Gorky
Link to the answer
Link to comment
Share on other sites

  • 2 months later...

Hello

I would like to add some AutoCAD parts that my students have drawn. There is a way to convert and scale them in Solidworks and Blender that works well. In Blender I wanted to add the base material and then add text to the object that is the student's name and maybe the name of the part. 

The first model has only 200 tris but when I add text the tris jump to 718. Since the text is actually geometry I assume this is not the best way to add text on the object. Maybe it would be better to just create an image use a uvmap to put the student name where I want? I did that and it looks ok but had to edit the uvmap to get it to align in the right place. Comments?

Assignment1 without text.png

Assignment1 with text.png

Assignment1 with image 1.png

Link to comment
Share on other sites

3 hours ago, IvyTechEngineer said:

OBTW, when I upload the model to SL the texture needs to be separately uploaded?

Yes ........ but instead of having to upload a separate image texture for each of the student's names it may be more interesting for you to create a texture consisting of all the students names on a single texture ? Then use the Vertical and Horizontal offsets in the SL build floater to select which name appears on each model.

In the example below I set out 20 "Student Names" in two vertical columns of 10 names on a 1000px² . 10 names per column makes it very easy to use the vertical offset up/down arrows to select a name from the list.

 

In Blender create a little single sided Label Object and UV unwrap and map it carefully to the first name in the list of names :

1-min.thumb.png.ee897c96b8f4488718a4956c7d5c1711.png

 

Next Duplicate this Label Object. This new duplicate Label object will be later joined to the students model:

2-min.thumb.png.2746a8fe43932d029914006cea10307c.png

 

Hide the original Label object.

Select the duplicate label object and the students model then use Ctrl + J  to join them to be a single object.

Next, in edit mode reposition the name label approx. 1mm above the surface of the students model. If necessary resize the label as required.

3-min.thumb.png.c49f6eddff8497775eb994ba27dff64c.png

 

Repeat the above for each of the students models.

No need to mess about with the UV's to select the correct name for the label in Blender, that will be done when rezzed inworld.

The model should now have 2 (at least) materials assigned to it. One for the model and one for the label.

 

When rezzed inworld edit the model and with the Select face enabled in the SL build floater select the Label face and apply the List of Student Names texture to this face.

Set the Alpha Mode to Alpha Masking and Mask Cutoff to something above zero.

Now all that is left to do is change the Vertical Offset using the up/down arrows to select the correct name for the label.

For names in the second column set the Horizontal Offset to 0.5 :

4-min.thumb.png.b6a710512910702b8a73365ddfc8ad02.png

 

Label.gif.52ceb39441bb83d26a9c5b14a5818ee4.gif

 

Link to comment
Share on other sites

  • 2 weeks later...

I want to upload more CAD models that the students have created but I have questions on LOD for the models. I created another model without fillets and the tris was reduced to 25% of the original but I got an error - The material of the model is not a subset of the reference model. The lower-level model used the original model?

LOD error.png

Link to comment
Share on other sites

  • 3 weeks later...

Hello again,

I wanted to use an existing STL file that I got from Thingiverse for a model in SL but the model is massive. I will need to scale it and reduce the mesh. It is the model of a T-REX and has the skull and lower jaw. Combined it has 286,062 tris, lol. I used the decimate and reduced to 10% but I get an error when I try to upload it into SL. 

This is a two part model that I joined together. Is there a way to see and fix the error in the DAE file?

Thanks

Picture4.png

Picture5.png

Link to comment
Share on other sites

......... and after trying the above :

If you haven't already, before exporting you should Apply the Location, Rotation and Scale before exporting.

In Blender > Object mode > select object > Ctrl + A (to open Apply menu) > choose the All Transforms option.

This will set  the X Y and Z locations to 0m

X Y and Z rotations to  

and  X Y and Z scales to 1.00

 

 

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...