Page 1 of 3 123 LastLast
Results 1 to 20 of 41

Thread: submeshes rong way

  1. #1
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Angry submeshes rong way

    (edit) dont know what i am dooing rong!




    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    hello, i finally figured out how to make submeshes. but the only thing is that they are one side visible, and the other see-true (srry for spelling) i heard that you could make double sided submeshes. But adeodat only posted 2 pics, that i dont understand.

    i Am using blender. so if theres something i am doing rong/missed please help me.

    below is a couple of pics that i took to demonstrate the one sided submesh








    thank you for reading this post and PLEASE help me. i've been taking 5 hours per day trying to fingure out new things about blender and ror.
    Last edited by json26; 12-17-10 at 08:20 PM.

  2. #2
    Brickman
    Brickman is offline
    Brickman's Avatar
    Join Date
    Dec 2009
    Age
    24
    Posts
    3,585
    Country: United States

    Default Re: submeshes rong way

    Get about half way down the page. Submeshing_in_Blender

    After the face is highlighted, press W and click on flip normal.
    Make sure the little blue lines are pointing out side where you want the texture to be seen.
    After exporting, add backmesh after each cab section, it will make the other side black, so its not one sided.
    like:

    submesh
    texcoords
    64, 0.733607, 0.309575
    53, 0.914274, 0.088680
    54, 0.913564, 0.310104
    69, 0.734316, 0.088151
    cab
    53, 69, 64, n
    53, 64, 54, n
    backmesh
    Last edited by Brickman; 11-24-10 at 01:55 AM.
    ༼ つ ◕_◕ ༽つ

  3. #3
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    ok thanks, I'l try that after school. thanks

  4. #4
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    but how do i add texture like this.
    what do i need to add with the material file and with the truck file?
    is there some codes that i need to add?

    i would like to make myself a texture like tis one but not copy it. and what programme do i need excluding paint?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	F350_1.png 
Views:	25 
Size:	181.4 KB 
ID:	164887 

  5. #5
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    Ive submeshed correcly my trailer but its all black and white submeshes so i would like to add colour

  6. #6
    Box5diesel
    Box5diesel is offline
    Box5diesel's Avatar
    Invited Member
    Join Date
    Aug 2007
    Location
    Wa
    Posts
    3,724
    Blog Entries
    1

    Default Re: submeshes rong way

    That part is called UV mapping. In blender you have to open up the UV editor. Then you highlight the surface(s) you want to have a texture, and you position the surfaces on the texture in the UV editor. Someone who uses blender as their program of choice should chime in on the exact steps.

  7. #7
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    yeah i did that but it turn out like this =( i dont thinks its goooood...

    i read the wiki but it dosent tell you how to manualy unwrap your object. it tells you on the video 3 but it dosent explane it to well =/<

    And even if i save it like that i dont know how to add the textures to the uv image, then create the correct material file for the trailer..........


  8. #8
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    Quote Originally Posted by Box5diesel View Post
    Someone who uses blender as their program of choice should chime in on the exact steps.
    what program do you suggest me to use?

  9. #9
    Brickman
    Brickman is offline
    Brickman's Avatar
    Join Date
    Dec 2009
    Age
    24
    Posts
    3,585
    Country: United States

    Default Re: submeshes rong way

    Quote Originally Posted by json26 View Post
    what program do you suggest me to use?
    I find blender is the easiest to submesh in. The Tutorial is hard to read, I've been wanting to submit one I made. Havent had the time yet

    Make sure when you Unwrap the submesh when the whole vehicle is selected (by pressing A) then press the U key and select Unwrap smart projections or smart unwrap unlike it says in the wiki.
    ༼ つ ◕_◕ ༽つ

  10. #10
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    i got this to work. But even if i modify the image in paint it always stays white in the game. I've added some drawing on the uv maping but it dosent change. can somewon check if my file is incorrect, and if i need to change something please.

    Attached Files Attached Files
    Last edited by json26; 11-26-10 at 12:12 AM.

  11. #11
    330xi
    330xi is offline
    330xi's Avatar
    Join Date
    Nov 2010
    Location
    Newbury, VT
    Age
    16
    Posts
    1,705
    Country: United States

    Default Re: submeshes rong way

    Sorry to be annoying, but where can i get the .truck importers? The wiki doesn't help.
    2005 BMW 330xi || 2005 Ski-Doo Adrenaline 600HO || 2013 Yamaha 212SS || 2000 SeaDoo GSX 800

  12. #12
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    somewon.. please

  13. #13
    Brickman
    Brickman is offline
    Brickman's Avatar
    Join Date
    Dec 2009
    Age
    24
    Posts
    3,585
    Country: United States

    Default Re: submeshes rong way

    Try this: The submesh isnt right though. I could submesh it for you, but im not going to have too much time untill the beginning of December
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screenshot_13.jpg 
Views:	21 
Size:	123.2 KB 
ID:	165031 
    Attached Files Attached Files
    Last edited by Brickman; 11-26-10 at 01:21 AM.
    ༼ つ ◕_◕ ༽つ

  14. #14
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    thanks.. later i will fix the submeshes. its funny how just a little thing done rong can screw up the rest.

    thanks again!!

  15. #15
    330xi
    330xi is offline
    330xi's Avatar
    Join Date
    Nov 2010
    Location
    Newbury, VT
    Age
    16
    Posts
    1,705
    Country: United States

    Default Re: submeshes rong way

    How do i get my submeshes ingame?
    2005 BMW 330xi || 2005 Ski-Doo Adrenaline 600HO || 2013 Yamaha 212SS || 2000 SeaDoo GSX 800

  16. #16
    Brickman
    Brickman is offline
    Brickman's Avatar
    Join Date
    Dec 2009
    Age
    24
    Posts
    3,585
    Country: United States

    Default Re: submeshes rong way

    Quote Originally Posted by json26 View Post
    thanks.. later i will fix the submeshes. its funny how just a little thing done rong can screw up the rest.

    thanks again!!
    No problem Just make sure the the name of the picture and the type is defined 2 times in the material file.
    Im not sure you have to add it in the truck trailer file like I did. I do it just in case it doesn't show up
    ༼ つ ◕_◕ ༽つ

  17. #17
    1crash007
    1crash007 is offline
    1crash007's Avatar
    Join Date
    Apr 2007
    Location
    Norwich, ON, Canada
    Age
    37
    Posts
    3,607
    Country: Canada

    Default Re: submeshes rong way

    The big thing about submeshing in blender is the texture format you save the image and
    a material file to let ror know the material exists.
    So for example

    look for this line near the top of the .TRUCK file.

    Code:
    globals
    5000, 0.0, tracks/semi
    then look a name like that in a .MATERIAL file.

    Code:
    material tracks/semi
    {
    	technique
    	{
    		pass
    		{
    			alpha_rejection greater 128
                            scene_blend alpha_blend
    			texture_unit
    			{
    				texture semi.png
    			}
    		}
    
    	}
    
    }

  18. #18
    Lepes
    Lepes is offline
    Lepes's Avatar

    Join Date
    Aug 2008
    Location
    Spain
    Age
    39
    Posts
    3,227
    Country: Spain

    Default Re: submeshes rong way

    I have a question to json26, Will you create meshes for this trailer?

    I ask because 2 years ago you submesh a vehicle and you applied a texture to the submesh. Nowadays you only submesh to get a contactable surface on a trailer and then you create a mesh (sketch.. or blender) and you place on the right spot so players think the mesh is contactable.

    If you want to create meshes for your trailer, then:
    - you can use a transparent color on globals section of the truck file
    - you don't need to apply texture to the submesh.
    - Now you create your meshes, uv unwrap them, apply texture to the meshes (the same process you are following but it will be applied to meshes not jus the node/beam structure), stick the meshes to the node/beam using prop section or flexbody (if you want full deformation) and that's all
    Dedique el tiempo necesario para formular su pregunta, si pretende que dediquemos el tiempo necesario para responderla.

  19. #19
    json26
    json26 is offline
    json26's Avatar
    Join Date
    Apr 2009
    Location
    where polar bears live. (canada=))
    Posts
    108
    Country: Canada

    Default Re: submeshes rong way

    well for now i dont think so. the reason is that for me right now rigs of rods is giving me a pain in the ass.
    i cant even put mods into the game without crashing, when i try installing it freezes before it finishes.

    when i finally install it correcly i will try.

    I would love to put some meshes on it with a good instuctor and with more knowlege with blender.
    right now, i am an super noob in blender because the only thing i did with it was to select 3 nodes and presss "f"

    I'll let you know in half an hours if it works...

  20. #20
    Lepes
    Lepes is offline
    Lepes's Avatar

    Join Date
    Aug 2008
    Location
    Spain
    Age
    39
    Posts
    3,227
    Country: Spain

    Default Re: submeshes rong way

    Quote Originally Posted by json26 View Post
    right now, i am an super noob in blender because the only thing i did with it was to select 3 nodes and presss "f"
    That was exactly the first thing I did on Blender, then I couldn't stop hehe.

    EDIT: ignore pink zones, they are node/beam submeshes that doesn't need to be textured (as I said on my previous post)


    EDIT2: right submesh, and working ingame. Blender file attached too

    Please, after you export the file from blender you need to:
    - make node 32 a hook ( see node 32 on .trailer file)
    - add backmesh to all "cab" section
    - make some beams around node 32 visible to know where the hook trailer point is

    At the moment you can just colorize the skin.png file with paint.net or similar
    Also keep in min that you cab aren't contactable, you need all "cab" sections from "n" to "c"

    Cheers
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mytrailers.PNG 
Views:	26 
Size:	853.3 KB 
ID:	165358  Click image for larger version. 

Name:	screenshot_35.png 
Views:	21 
Size:	985.4 KB 
ID:	165368 
    Attached Files Attached Files
    Last edited by Lepes; 11-27-10 at 05:52 PM.
    Dedique el tiempo necesario para formular su pregunta, si pretende que dediquemos el tiempo necesario para responderla.

Similar Threads

  1. Replies: 2
    Last Post: 07-28-09, 08:45 AM
  2. Modding gone rong
    By dj_smith in forum General Off-Topic
    Replies: 2
    Last Post: 09-29-08, 12:11 AM
  3. Blending submeshes in Blender?
    By Condor33 in forum Mod tech
    Replies: 9
    Last Post: 08-18-08, 12:39 AM
  4. How to make double-sided submeshes
    By adeodat in forum Mod tech
    Replies: 6
    Last Post: 02-09-08, 02:03 AM
  5. Two submeshes on one polygon....or something...
    By truckian in forum Mod tech
    Replies: 6
    Last Post: 08-07-07, 12:17 AM

Posting Permissions



About Rigs of Rods

    Rigs of Rods is a unique soft body physics simulator.


Some Tools


Partners

SourceForge.net

Follow us

Twitter youtube Facebook RSS Feed


impressum