Page 1 of 2

How do i texture in Blender?

Posted: Thu Nov 10, 2011 4:44 pm
by PvtMichaelJCaboose
So when I model stuff in Blender, I'm not quite sure of the steps you need to take to texture it. Any help?

Re: Texturing

Posted: Thu Nov 10, 2011 5:03 pm
by DarthD.U.C.K.
first: google really works, so does the faq/tutorialthread in the 3d modeling section.
second: this should go into the 3d modeling section.

Re: How do i texture in Blender?

Posted: Thu Nov 10, 2011 10:50 pm
by PvtMichaelJCaboose
3DModeling section of what? Srry I'm a noob :oops:

And when I texture stuff in Blender and save it as a .wrl file and open it with the mesh viewer, my texture is gone :(

Re: How do i texture in Blender?

Posted: Thu Nov 10, 2011 10:54 pm
by minilogoguy18
Google: UV mapping in Blender

Then after you learn that learn to paint textures in something like Photoshop (or Gimp which is free) then apply it to your mesh.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 10:24 am
by PvtMichaelJCaboose
I do do UV Mapping.

Here's a step by step thing:
1) I create the model.
2) I uv map it.
3) I export as .wrl.
4) I bring it into the SWBF mesh viewer.
The model appears in the mesh viewer, but the texture is gone, so when I save it as a mesh, it is just a boring gray.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 10:25 am
by lucasfart
Just out of curiosity, could you open your .wrl in notepad, post it here, and tell us the exact name of your texture?

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 12:40 pm
by PvtMichaelJCaboose
My texture is named "brown."
Though, upon recollection, it is a JPG, maybe I should save as a .tga?

(My .wrl)
Hidden/Spoiler:
#VRML V2.0 utf8

# This file was authored with Blender (http://www.blender.org/)
# Blender version 248
# Blender file table.blend
# Exported using VRML97 exporter v1.55 (2006/01/17)


NavigationInfo {
headlight FALSE
visibilityLimit 100.0
type ["EXAMINE", "ANY"]
avatarSize [0.25, 1.75, 0.75]
}

Background {
groundColor 0.0508761 0.0508761 0.0508761
skyColor 0.0508761 0.0508761 0.0508761
}

DEF OB_Plane Transform {
translation -0.174210 0.343612 -0.359588
rotation 1.000000 0.000000 0.000000 0.000000
scale 0.341573 0.341573 0.341573
children [
DEF ME_Plane_001 Group {
children [
Shape {
appearance Appearance {
texture DEF brown_JPG_001 ImageTexture {
url "brown.JPG"
}
}
geometry IndexedFaceSet {
solid TRUE
coord DEF coord_Plane_001 Coordinate {
point [
2.98023223877e-008 0.0 -1.34110450745e-007
-8.94069671631e-008 0.0 0.999999880791
0.999999940395 0.0 0.0
1.49011611938e-007 0.0 -1.00000011921
-0.999999880791 0.0 -2.68220901489e-007
0.75 0.0 -0.75
0.749999940395 0.0 0.749999940395
-0.750000059605 0.0 0.749999821186
-0.749999761581 0.0 -0.750000238419
2.98023223877e-008 -0.117760896683 -1.34110450745e-007
-8.94069671631e-008 -0.117760896683 0.999999880791
0.999999940395 -0.117760896683 0.0
1.49011611938e-007 -0.117760896683 -1.00000011921
-0.999999880791 -0.117760896683 -2.68220901489e-007
0.75 -0.117760896683 -0.75
0.749999940395 -0.117760896683 0.749999940395
-0.750000059605 -0.117760896683 0.749999821186
-0.749999761581 -0.117760896683 -0.750000238419
]
}

coordIndex [
0 2 5 3 -1,
0 3 8 4 -1,
0 4 7 1 -1,
0 1 6 2 -1,
14 11 9 12 -1,
17 12 9 13 -1,
16 13 9 10 -1,
15 10 9 11 -1,
4 8 17 13 -1,
8 3 12 17 -1,
6 1 10 15 -1,
3 5 14 12 -1,
5 2 11 14 -1,
7 4 13 16 -1,
1 7 16 10 -1,
2 6 15 11 -1,
]
texCoord TextureCoordinate {
point [
0.234425 0.7712813, 0.1724815 0.599669, 0.3166766 0.5961146, 0.4060372 0.709338,
0.234425 0.7712813, 0.4060372 0.709338, 0.4095918 0.853533, 0.2963685 0.942893,
0.234425 0.7712813, 0.2963685 0.942893, 0.1521733 0.9464481, 0.0628126 0.8332248,
0.234425 0.7712813, 0.0628126 0.8332248, 0.0592581 0.6890296, 0.1724815 0.599669,
0.4504441 0.4646438, 0.324501 0.5640433, 0.2555988 0.3731517, 0.4464903 0.3042496,
0.3470908 0.1783067, 0.4464903 0.3042496, 0.2555988 0.3731517, 0.1866966 0.1822603,
0.0607535 0.2816596, 0.1866966 0.1822603, 0.2555988 0.3731517, 0.0647073 0.442054,
0.1641069 0.5679971, 0.0647073 0.442054, 0.2555988 0.3731517, 0.324501 0.5640433,
0.2963685 0.942893, 0.4095918 0.853533, 0.4229027 0.8703981, 0.3096793 0.9597589,
0.3658508 0.1635006, 0.4652504 0.2894432, 0.4464903 0.3042496, 0.3470908 0.1783067,
0.1453467 0.5828034, 0.0459472 0.4568603, 0.0647073 0.442054, 0.1641069 0.5679971,
0.4060372 0.709338, 0.3166766 0.5961146, 0.3335422 0.5828034, 0.4229027 0.6960269,
0.4652504 0.483404, 0.3393073 0.5828034, 0.324501 0.5640433, 0.4504441 0.4646438,
0.0459473 0.2628999, 0.1718904 0.1635006, 0.1866966 0.1822603, 0.0607535 0.2816596,
0.0628126 0.8332248, 0.1521733 0.9464481, 0.1353079 0.9597589, 0.0459472 0.8465357,
0.1724815 0.599669, 0.0592581 0.6890296, 0.0459472 0.672164, 0.1591706 0.5828034,
]
}
texCoordIndex [
0 1 2 3 -1
4 5 6 7 -1
8 9 10 11 -1
12 13 14 15 -1
16 17 18 19 -1
20 21 22 23 -1
24 25 26 27 -1
28 29 30 31 -1
32 33 34 35 -1
36 37 38 39 -1
40 41 42 43 -1
44 45 46 47 -1
48 49 50 51 -1
52 53 54 55 -1
56 57 58 59 -1
60 61 62 63 -1
]
}
}
]
}
]
}
DEF OB_Cylinder_003 Transform {
translation -0.034549 0.182194 -0.144206
rotation 1.000000 0.000000 0.000000 0.000000
scale 0.031235 0.124636 0.031235
children [
DEF ME_rsvd_Cylinder Group {
children [
Shape {
appearance Appearance {
texture USE brown_JPG_001
}
geometry IndexedFaceSet {
solid TRUE
coord DEF coord_rsvd_Cylinder Coordinate {
point [
0.0 -1.0 -1.0
0.195090323687 -1.0 -0.980785250664
0.382683455944 -1.0 -0.923879504204
0.555570244789 -1.0 -0.831469595432
0.707106769085 -1.0 -0.707106769085
0.831469655037 -1.0 -0.555570185184
0.923879504204 -1.0 -0.382683426142
0.980785250664 -1.0 -0.195090353489
1.0 -1.0 -7.5497901264e-008
0.980785310268 -1.0 0.195090204477
0.923879563808 -1.0 0.38268327713
0.831469655037 -1.0 0.555570185184
0.707106769085 -1.0 0.707106769085
0.555570185184 -1.0 0.831469655037
0.38268327713 -1.0 0.923879623413
0.195090085268 -1.0 0.980785310268
-3.25841369886e-007 -1.0 1.0
-0.195090726018 -1.0 0.980785191059
-0.382683873177 -1.0 0.92387932539
-0.555570721626 -1.0 0.831469297409
-0.707107245922 -1.0 0.707106351852
-0.831470012665 -1.0 0.555569648743
-0.923879861832 -1.0 0.382682681084
-0.980785429478 -1.0 0.195089459419
-1.0 -1.0 -9.65599156189e-007
-0.98078507185 -1.0 -0.195091351867
-0.923879086971 -1.0 -0.382684469223
-0.831468939781 -1.0 -0.555571258068
-0.707105875015 -1.0 -0.707107663155
-0.555569112301 -1.0 -0.831470370293
-0.382682085037 -1.0 -0.92388010025
-0.195088818669 -1.0 -0.980785548687
1.60535705618e-006 1.0 -1.0
0.195091977715 1.0 -0.980784952641
0.382685065269 1.0 -0.923878848553
0.55557179451 1.0 -0.831468582153
0.707108139992 1.0 -0.707105398178
0.831470727921 1.0 -0.555568575859
0.923880338669 1.0 -0.382681518793
0.980785727501 1.0 -0.195088192821
1.0 1.0 2.24511495617e-006
0.980784893036 1.0 0.195092141628
0.923878967762 1.0 0.382684767246
0.831468999386 1.0 0.555571138859
0.707106292248 1.0 0.707107245922
0.555570006371 1.0 0.831469774246
0.382683545351 1.0 0.923879504204
0.195090845227 1.0 0.980785191059
9.29824579998e-007 1.0 1.0
-0.195089027286 1.0 0.980785548687
-0.382681846619 1.0 0.92388021946
-0.55556845665 1.0 0.831470787525
-0.707104980946 1.0 0.707108557224
-0.831467986107 1.0 0.555572628975
-0.923878252506 1.0 0.382686495781
-0.980784535408 1.0 0.19509395957
-1.0 1.0 4.1047637751e-006
-0.980786144733 1.0 -0.195085912943
-0.923881411552 1.0 -0.382678896189
-0.831472575665 1.0 -0.555565834045
-0.707110822201 1.0 -0.707102775574
-0.555575311184 1.0 -0.831466257572
-0.382689416409 1.0 -0.923877060413
-0.195097073913 1.0 -0.980783939362
0.0 -1.0 0.0
0.0 1.0 0.0
]
}

coordIndex [
64 0 1 -1,
65 33 32 -1,
64 1 2 -1,
65 34 33 -1,
64 2 3 -1,
65 35 34 -1,
64 3 4 -1,
65 36 35 -1,
64 4 5 -1,
65 37 36 -1,
64 5 6 -1,
65 38 37 -1,
64 6 7 -1,
65 39 38 -1,
64 7 8 -1,
65 40 39 -1,
64 8 9 -1,
65 41 40 -1,
64 9 10 -1,
65 42 41 -1,
64 10 11 -1,
65 43 42 -1,
64 11 12 -1,
65 44 43 -1,
64 12 13 -1,
65 45 44 -1,
64 13 14 -1,
65 46 45 -1,
64 14 15 -1,
65 47 46 -1,
64 15 16 -1,
65 48 47 -1,
64 16 17 -1,
65 49 48 -1,
64 17 18 -1,
65 50 49 -1,
64 18 19 -1,
65 51 50 -1,
64 19 20 -1,
65 52 51 -1,
64 20 21 -1,
65 53 52 -1,
64 21 22 -1,
65 54 53 -1,
64 22 23 -1,
65 55 54 -1,
64 23 24 -1,
65 56 55 -1,
64 24 25 -1,
65 57 56 -1,
64 25 26 -1,
65 58 57 -1,
64 26 27 -1,
65 59 58 -1,
64 27 28 -1,
65 60 59 -1,
64 28 29 -1,
65 61 60 -1,
64 29 30 -1,
65 62 61 -1,
64 30 31 -1,
65 63 62 -1,
31 0 64 -1,
65 32 63 -1,
0 32 33 1 -1,
1 33 34 2 -1,
2 34 35 3 -1,
3 35 36 4 -1,
4 36 37 5 -1,
5 37 38 6 -1,
6 38 39 7 -1,
7 39 40 8 -1,
8 40 41 9 -1,
9 41 42 10 -1,
10 42 43 11 -1,
11 43 44 12 -1,
12 44 45 13 -1,
13 45 46 14 -1,
14 46 47 15 -1,
15 47 48 16 -1,
16 48 49 17 -1,
17 49 50 18 -1,
18 50 51 19 -1,
19 51 52 20 -1,
20 52 53 21 -1,
21 53 54 22 -1,
22 54 55 23 -1,
23 55 56 24 -1,
24 56 57 25 -1,
25 57 58 26 -1,
26 58 59 27 -1,
27 59 60 28 -1,
28 60 61 29 -1,
29 61 62 30 -1,
30 62 63 31 -1,
32 0 31 63 -1,
]
texCoord TextureCoordinate {
point [
0.9213978 0.7771577, 0.9577786 0.7735745, 0.9577786 0.7807409,
0.9104275 0.9192597, 0.9469842 0.9192597, 0.9462818 0.9263915,
0.9469842 0.944204, 0.9833649 0.9406208, 0.9833649 0.9477872,
0.81817 0.9411084, 0.8540243 0.9339765, 0.8547267 0.9411083,
0.8738707 0.9585022, 0.9102514 0.954919, 0.9102514 0.9620854,
0.7816132 0.9411083, 0.8174676 0.9339765, 0.81817 0.9411083,
0.7817893 0.9661216, 0.81817 0.9625384, 0.81817 0.9697048,
0.9213978 0.7878727, 0.9572521 0.7807409, 0.9579545 0.7878727,
0.9213859 0.8606537, 0.9572402 0.8535218, 0.9579426 0.8606537,
0.8738707 0.9656686, 0.9102514 0.9620854, 0.9102514 0.9692518,
0.7816132 0.9768366, 0.8174676 0.9697048, 0.81817 0.9768366,
0.9104275 0.9477872, 0.9462818 0.9406553, 0.9469842 0.9477872,
0.8738707 0.9835154, 0.9097251 0.9763836, 0.9104275 0.9835154,
0.7817893 0.9518234, 0.81817 0.9482402, 0.81817 0.9554066,
0.9213859 0.8762715, 0.9579426 0.8762715, 0.9572402 0.8834034,
0.9104275 0.9477872, 0.9469842 0.9477872, 0.9462818 0.954919,
0.818346 0.9518234, 0.8547267 0.9482403, 0.8547267 0.9554066,
0.8738707 0.9263915, 0.9097251 0.9192596, 0.9104275 0.9263914,
0.9213978 0.8034215, 0.9579545 0.8034215, 0.9572521 0.8105533,
0.9213859 0.8535218, 0.9572402 0.84639, 0.9579426 0.8535218,
0.818346 0.9589898, 0.8547267 0.9554066, 0.8547267 0.962573,
0.8738707 0.954919, 0.9097251 0.9477872, 0.9104275 0.954919,
0.9104275 0.9656686, 0.9468082 0.9620854, 0.9468082 0.9692518,
0.9468081 0.9620509, 0.9826624 0.954919, 0.9833649 0.9620509,
0.81817 0.9554066, 0.7823157 0.9625384, 0.7816132 0.9554066,
0.8547267 0.962573, 0.8188725 0.9697048, 0.81817 0.962573,
0.81817 0.9411083, 0.7823157 0.9482402, 0.7816132 0.9411083,
0.9577786 0.8284347, 0.9213978 0.8320179, 0.9213978 0.8248515,
0.9469842 0.9335234, 0.9111298 0.9406553, 0.9104275 0.9335234,
0.9104275 0.9263915, 0.8745731 0.9335234, 0.8738707 0.9263915,
0.9579426 0.8677856, 0.9213859 0.8677856, 0.9220884 0.8606537,
0.9579545 0.7735745, 0.9213978 0.7735745, 0.9221003 0.7664426,
0.9104275 0.9335234, 0.8745731 0.9406553, 0.8738707 0.9335234,
0.8547267 0.9268446, 0.8188725 0.9339765, 0.81817 0.9268447,
0.9468081 0.9585022, 0.9104275 0.9620854, 0.9104275 0.954919,
0.9579426 0.8905352, 0.9213859 0.8905352, 0.9220884 0.8834034,
0.9468082 0.9728349, 0.9104275 0.9764181, 0.9104275 0.9692518,
0.9579426 0.8976671, 0.9220884 0.9047989, 0.9213859 0.8976671,
0.9577667 0.9083821, 0.9213859 0.9119653, 0.9213859 0.9047989,
0.8547267 0.9697048, 0.8188725 0.9768367, 0.81817 0.9697048,
0.9104275 0.9406553, 0.8745731 0.9477872, 0.8738707 0.9406553,
0.9833649 0.9370376, 0.9469842 0.9406208, 0.9469842 0.9334545,
0.8547267 0.9411084, 0.8188725 0.9482403, 0.81817 0.9411084,
0.9833649 0.9228769, 0.9469842 0.9264601, 0.9469842 0.9192938,
0.9579545 0.8176851, 0.9213978 0.8176851, 0.9221003 0.8105533,
0.9833649 0.9157106, 0.9469842 0.9192938, 0.9469842 0.9121274,
0.81817 0.9268446, 0.7823157 0.9339765, 0.7816132 0.9268447,
0.9831889 0.9728349, 0.9468082 0.9764181, 0.9468082 0.9692518,
0.9469842 0.9335234, 0.9104275 0.9335234, 0.9111298 0.9263915,
0.9579545 0.8391497, 0.9213978 0.8391497, 0.9221003 0.8320179,
0.8547267 0.9197127, 0.8188725 0.9268446, 0.81817 0.9197128,
0.9579426 0.8677856, 0.9220884 0.8749174, 0.9213859 0.8677856,
0.81817 0.9197127, 0.7823157 0.9268446, 0.7816132 0.9197127,
0.9579545 0.7878727, 0.9221003 0.7950045, 0.9213978 0.7878727,
0.9577786 0.7985877, 0.9213978 0.8021709, 0.9213978 0.7950045,
0.9833649 0.9620854, 0.9475106 0.9692172, 0.9468082 0.9620854,
0.9213859 0.84639, 0.9572402 0.8392581, 0.9579426 0.84639,
0.8738707 0.9763836, 0.9097251 0.9692518, 0.9104275 0.9763836,
0.9104275 0.9192593, 0.9462818 0.9121274, 0.9469842 0.9192593,
0.9213859 0.8976671, 0.9572402 0.8905352, 0.9579426 0.8976671,
0.9213978 0.8212683, 0.9577786 0.8176851, 0.9577786 0.8248515,
0.81817 0.9197127, 0.8540243 0.9125806, 0.8547267 0.9197124,
0.9828385 0.9477872, 0.9835409 0.954919, 0.9469842 0.954919,
0.8738707 0.9192596, 0.909725 0.9121274, 0.9104275 0.9192596,
0.8833725 0.7664426, 0.8833725 0.839008, 0.8738555 0.8392841, 0.8738555 0.7667186,
0.9119138 0.7664426, 0.9119138 0.8389822, 0.9024 0.8392581, 0.9024001 0.7667186,
0.8738555 0.8392841, 0.8738555 0.9117759, 0.8643481 0.9120517, 0.8643481 0.8395598,
0.8260858 0.8398734, 0.8260858 0.9123031, 0.8165865 0.9125786, 0.8165866 0.840149,
0.8355851 0.8398734, 0.8355851 0.9123031, 0.8260858 0.9125786, 0.8260859 0.840149,
0.7877612 0.7664426, 0.787761 0.8395561, 0.778172 0.8398342, 0.7781723 0.7667207,
0.8928863 0.7664426, 0.8928862 0.8389822, 0.8833725 0.8392581, 0.8833727 0.7667185,
0.8643382 0.7664426, 0.8643384 0.839008, 0.8548213 0.8392841, 0.8548211 0.7667187,
0.8738554 0.7664426, 0.8738555 0.839008, 0.8643384 0.8392841, 0.8643384 0.7667186,
0.9024 0.7664426, 0.9024 0.8389822, 0.8928863 0.8392581, 0.8928864 0.7667186,
0.778172 0.7664427, 0.776052 0.8395253, 0.766459 0.8395253, 0.768579 0.7664426,
0.7973503 0.7664426, 0.7973502 0.8395561, 0.7877612 0.8398342, 0.7877613 0.7667207,
0.8452427 0.8401878, 0.8452427 0.9125806, 0.8357587 0.9122664, 0.8357587 0.8398735,
0.8356643 0.76676, 0.8356643 0.8398734, 0.8260858 0.8395561, 0.8260858 0.7664426,
0.8260858 0.76676, 0.8260858 0.8398734, 0.8165073 0.8395561, 0.8165073 0.7664426,
0.8833725 0.8395989, 0.8833725 0.9121274, 0.8738707 0.9118125, 0.8738707 0.8392841,
0.8165073 0.76676, 0.8165073 0.8398734, 0.8069289 0.8395561, 0.8069289 0.7664426,
0.8643196 0.8395988, 0.8643196 0.9121016, 0.8548211 0.9117869, 0.8548211 0.8392841,
0.7876642 0.8401487, 0.7876642 0.9126039, 0.778172 0.9122893, 0.778172 0.8398342,
0.8069288 0.76676, 0.8069289 0.8398734, 0.7973504 0.8395561, 0.7973503 0.7664426,
0.8547267 0.8401878, 0.8547267 0.9125806, 0.8452427 0.9122663, 0.8452427 0.8398735,
0.8548211 0.76676, 0.8548211 0.8398735, 0.8452427 0.8395561, 0.8452427 0.7664426,
0.8452427 0.76676, 0.8452427 0.8398735, 0.8356643 0.8395561, 0.8356643 0.7664426,
0.8928863 0.839573, 0.8928863 0.9121016, 0.8833845 0.9117867, 0.8833845 0.8392581,
0.9119018 0.839573, 0.911902 0.9121016, 0.9024001 0.9117867, 0.9024 0.8392581,
0.7973503 0.8401489, 0.7973503 0.9126517, 0.7878519 0.912337, 0.7878519 0.8398342,
0.8069289 0.840188, 0.8069289 0.9126431, 0.7974367 0.9123286, 0.7974367 0.8398734,
0.9213859 0.8395724, 0.9213859 0.9119653, 0.911902 0.911651, 0.911902 0.8392581,
0.9213978 0.7667569, 0.9213978 0.8391497, 0.9119138 0.8388355, 0.9119138 0.7664426,
0.816421 0.840188, 0.816421 0.9126431, 0.8069289 0.9123286, 0.8069289 0.8398734,
0.7759575 0.8398402, 0.7759575 0.9123429, 0.766459 0.9120282, 0.766459 0.8395253,
0.8928863 0.9117867, 0.8928863 0.8392581, 0.9023881 0.839573, 0.9023881 0.9121016,
]
}
texCoordIndex [
0 1 2 -1
3 4 5 -1
6 7 8 -1
9 10 11 -1
12 13 14 -1
15 16 17 -1
18 19 20 -1
21 22 23 -1
24 25 26 -1
27 28 29 -1
30 31 32 -1
33 34 35 -1
36 37 38 -1
39 40 41 -1
42 43 44 -1
45 46 47 -1
48 49 50 -1
51 52 53 -1
54 55 56 -1
57 58 59 -1
60 61 62 -1
63 64 65 -1
66 67 68 -1
69 70 71 -1
72 73 74 -1
75 76 77 -1
78 79 80 -1
81 82 83 -1
84 85 86 -1
87 88 89 -1
90 91 92 -1
93 94 95 -1
96 97 98 -1
99 100 101 -1
102 103 104 -1
105 106 107 -1
108 109 110 -1
111 112 113 -1
114 115 116 -1
117 118 119 -1
120 121 122 -1
123 124 125 -1
126 127 128 -1
129 130 131 -1
132 133 134 -1
135 136 137 -1
138 139 140 -1
141 142 143 -1
144 145 146 -1
147 148 149 -1
150 151 152 -1
153 154 155 -1
156 157 158 -1
159 160 161 -1
162 163 164 -1
165 166 167 -1
168 169 170 -1
171 172 173 -1
174 175 176 -1
177 178 179 -1
180 181 182 -1
183 184 185 -1
186 187 188 -1
189 190 191 -1
192 193 194 195 -1
196 197 198 199 -1
200 201 202 203 -1
204 205 206 207 -1
208 209 210 211 -1
212 213 214 215 -1
216 217 218 219 -1
220 221 222 223 -1
224 225 226 227 -1
228 229 230 231 -1
232 233 234 235 -1
236 237 238 239 -1
240 241 242 243 -1
244 245 246 247 -1
248 249 250 251 -1
252 253 254 255 -1
256 257 258 259 -1
260 261 262 263 -1
264 265 266 267 -1
268 269 270 271 -1
272 273 274 275 -1
276 277 278 279 -1
280 281 282 283 -1
284 285 286 287 -1
288 289 290 291 -1
292 293 294 295 -1
296 297 298 299 -1
300 301 302 303 -1
304 305 306 307 -1
308 309 310 311 -1
312 313 314 315 -1
316 317 318 319 -1
]
}
}
]
}
]
}
DEF OB_Cylinder_002 Transform {
translation 0.052674 0.179316 -0.453469
rotation 1.000000 0.000000 0.000000 0.000000
scale 0.031235 0.124636 0.031235
children [
USE ME_rsvd_Cylinder
]
}
DEF OB_Cylinder_001 Transform {
translation -0.279305 0.179968 -0.558403
rotation 1.000000 0.000000 0.000000 0.000000
scale 0.031235 0.124636 0.031235
children [
USE ME_rsvd_Cylinder
]
}
DEF OB_rsvd_Cylinder Transform {
translation -0.389381 0.178786 -0.226423
rotation 1.000000 0.000000 0.000000 0.000000
scale 0.031235 0.124636 0.031235
children [
USE ME_rsvd_Cylinder
]
}
DEF OB_Lamp Transform {
translation 4.076245 5.903862 -1.005454
rotation 0.205942 0.920698 -0.331517 1.926274
scale 1.000000 1.000000 1.000000
children [
DEF Lamp PointLight {
ambientIntensity 0.0
color 1.0 1.0 1.0
intensity 0.5714286
location 0.0 0.0 0.0
radius 29.9999828339
}

]
}
DEF OB_Camera Transform {
translation 7.481132 5.343665 6.507640
rotation 0.772239 0.535848 -0.341341 1.347139
scale 1.000000 1.000000 1.000000
children [
DEF Camera Viewpoint {
description "Camera"
position 0.0 0.0 0.0
orientation 1.0 0.0 0.0 -1.570796
fieldOfView 0.503
}

]
}

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 1:19 pm
by minilogoguy18
The game only accepts .tga textures in 24 bit and 32 bit alpha, .png may be possible since it's practically the same format and I've used in it other games that support .tga, the advantage is better compression of file size but don't know if anyone has tried it.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 1:28 pm
by PvtMichaelJCaboose
All right, I'll try.tga.

EDIT: Wait, how do i specify between 24 bit and 32 bit in GIMP?

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 1:31 pm
by DarthD.U.C.K.
each channel of the tga has 8 bit. so if you have a texture with rgb (red, green, blue) channels, its 24 bit. if the texture has an alphachannel (usually used for transparency) however it adds 8 bit, so it 32 bits.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 4:42 pm
by PvtMichaelJCaboose
Hmm I textured it using UV Mapping but when I brought it into the mesh viewer it still appeared gray.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 4:55 pm
by minilogoguy18
Onto the next trail then, is the texture a power of 2 in dimensions and square? 256x256, 512x512, 768x768, 1024x1024 etc?

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 5:04 pm
by PvtMichaelJCaboose
This is gonna sound like a total n00b question but how would I find that out/make my texture square?

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 5:58 pm
by THEWULFMAN
minilogoguy18 wrote:Onto the next trail then, is the texture a power of 2 in dimensions and square? 256x256, 512x512, 768x768, 1024x1024 etc?

As a side note: 768x768 is not a power of 2.

PvtMichaelJCaboose wrote:This is gonna sound like a total n00b question but how would I find that out/make my texture square?

In GIMP. Image > Scale Image.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 6:37 pm
by minilogoguy18
Yeah I'm retarded =p

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 6:38 pm
by PvtMichaelJCaboose
Is this right?
(Attached File)

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 7:17 pm
by THEWULFMAN
minilogoguy18 wrote:Yeah I'm retarded =p

Psh, you silly humans and your tiny mistakes. :P
PvtMichaelJCaboose wrote:Is this right?
(Attached File)
Attached files have been disabled for years now. Just upload the image to Imageshack using THIS method.

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 7:53 pm
by PvtMichaelJCaboose

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 8:48 pm
by lucasfart
Hang on guys! Do you guys realise that you don't need a .tga to import a wrl into swbfviewer? All file formats work when importing, and I've never had to use .tga before.....The viewer does that for you when you save as a msh..

There's a few things I think you should check before going off on this .tga tangent....

Check that, before exporting to wrl, you have the texface button selected; if its not, no textures will be exported correctly....

Also, try this for me will you?

OPen your .wrl in notepad again, and try changing this:

Code: Select all

appearance Appearance {
texture DEF brown_JPG_001 ImageTexture {
url "brown.JPG"
to this(assuming your texture is still brown.jpg):

Code: Select all

appearance Appearance {
texture DEF brown ImageTexture {
url "brown.JPG"
Tell me how it goes when you import to swbfviewer after those two things....

Re: How do i texture in Blender?

Posted: Fri Nov 11, 2011 10:29 pm
by PvtMichaelJCaboose
http://imageshack.us/f/828/texface.jpg/

I actually converted it to .tga earlier today. But if you want, I could take a screenshot of it and save that as a .jpg.