Author Topic: Help with BLENDER needed!  (Read 18473 times)

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« on: June 22, 2007, 06:51:50 pm »
Well I got blender 2.44 + Python 2.5, I tryed all kinds of importer/exporter - none of them work, but   this one . This worked,  But :

1. it doesnt convert animation(its not animated)!!!

2. i dont know how to apply defult textures to mash,(i know how to uv map in blender)

Can anyone help me? (sorry for my grammar and orthography).
I would be very grateful :)
Happy New Year Everybody! : signature adequate once a year.

.f0rqu3

  • Guest
Help with BLENDER needed!
« Reply #1 on: June 22, 2007, 06:56:25 pm »
https://svn.sourceforge.net/svnroot/tremx/trunk/blender/
you need all 4 files in your script folder
it doesnt need python on 2.43, does need python on 2.44

tyranis

  • Posts: 44
  • Turrets: +3/-5
Help with BLENDER needed!
« Reply #2 on: July 02, 2007, 08:29:49 pm »
This should be stickied.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #3 on: July 08, 2007, 04:50:51 pm »
You are my hero! Animation works!!!!  :)
every thing works, but creating materials - cant load images...
I dont realy understand what that mean(i tryed to import basilisk):

'Unable to load image for level1
scene.link<ob> deprecated!
use scene.object.link<ob> instead'

...and what should i do?
(I just started working with Blender and im not familiar with all expressions, but modeling goes pretty well i guess)



Thank you very much for your help!
Happy New Year Everybody! : signature adequate once a year.

.f0rqu3

  • Guest
Help with BLENDER needed!
« Reply #4 on: July 08, 2007, 07:03:33 pm »
select the material, load the image manually

doomagent13

  • Posts: 506
  • Turrets: +18/-18
Help with BLENDER needed!
« Reply #5 on: July 09, 2007, 01:02:32 am »
I have blender, and I have all 4 files.  Where do I put them?  I am on a MAC and the only '.blender' folder is one I manually created.

Please, help me.

EDIT:
I have found a workable solution, but it does not have md3 import.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #6 on: August 16, 2007, 07:41:21 pm »
Thank You, .f0rqu3.

Importing is no secret to me now 8)
But as i started new project i need some help with exporting to md3:
 1. The animation, whan model is imported every frame in its animation has different shape key(frame1=>shape key1) whan exporting model can it be different way(I mean makeing animation frame by frame is very hard to do... cant i use one shape key like "leg_up" and use Ipo Curve Editor for making smooth animation)

2. UV maping, is there a way of maping only one side of model and copy it onto other side(just like models in Tremulous are textured)
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #7 on: August 16, 2007, 09:06:14 pm »
example:
fletch model composed of 2 objects fletch_wings and fletch_body
fletch_wings has material fwings_mat
fletch_body has material fbody_mat
skeletal animation is used for the animations and it has 885 frames
(but exporter doesnt care about the animation technique you used. it just pushes vertex locations to the md3 for each frame )
so I first select those objects - fletch_wings and fletch_body - to be exported
set frame counter to 885
export to md3
it will asks for the texture path: models/players/fletch/
so in the md3 shader path for
fletch_wings is models/players/fletch/fwings_mat
fletch_body is models/players/fletch/fbody_mat

this means you can use
models/players/fletch/fwings_mat.jpg or
models/players/fletch/fwings_mat.tga or
models/players/fletch/fwings_mat as a shader and use any texture/effect with it

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #8 on: August 17, 2007, 10:59:04 am »
Quote from: "tehOen"

(but exporter doesnt care about the animation technique you used. it just

that means i can even use armature for animating?

And the maping and shaders thing, havent really understood it :(
Edit: and will doblesided texture work??
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #9 on: August 17, 2007, 11:21:58 am »
model is uv mapped using material blah and image blahblah.jpg
exporter asks you for the path you enter
models/players/plah/
when you test the model it will need models/players/plah/blah
(no extension so it can be anything tga, jpg, shader. since you already have blahblah.jpg rename it to blah.jpg- copy to models/players/plah/)

you can take a look at openarena model source .blend file.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #10 on: August 18, 2007, 01:17:28 pm »
i think i understood now.
but can i use armature for animation(bones)
and is there a way of checking ingame if eg. mapping is good... can i check my models without scripts??

Thank You! :)
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #11 on: August 18, 2007, 01:41:48 pm »
Quote from: "Redsky"
i think i understood now.
but can i use armature for animation(bones)
and is there a way of checking ingame if eg. mapping is good... can i check my models without scripts??

Thank You! :)

umm what?
/testmodel [model name]
open console for the warnings

and yes you should use armature

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #12 on: August 20, 2007, 07:46:33 pm »
where should i put a model to test it?
sorry for this noob questions but i just cant find any answer on forum. :oops:
Thank You for your help so far.
Happy New Year Everybody! : signature adequate once a year.

Plague

  • Posts: 238
  • Turrets: +13/-13
Help with BLENDER needed!
« Reply #13 on: August 20, 2007, 07:58:12 pm »
I believe it's base\models\filename.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #14 on: August 25, 2007, 11:39:58 am »
Unknown command 'testmodel'=.=  <= i know im doing something wrong
Happy New Year Everybody! : signature adequate once a year.

durand

  • Posts: 201
  • Turrets: +0/-0
Help with BLENDER needed!
« Reply #15 on: August 28, 2007, 06:17:56 pm »
This really should be stickied....

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #16 on: September 08, 2007, 12:08:02 pm »
Code: [Select]
]/testmodel Vandal
Can't register model
]

Thats what i get. Please i need help badly.
(i know that i was pain it the ass lately but i realy want to finish animation+UV in Vandal model)

Thank You.
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #17 on: September 08, 2007, 12:21:08 pm »
/testmodel models/mapobjects/vandal.md3
you need to write full path relative to base (or whatever your fs_game is)

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #18 on: September 09, 2007, 03:49:10 pm »
Thank you for your help so far tehOen
but still it tells me something like 'cant register':(
what do i do:

1.i export model to:
 C:\Program Files\Tremulous\base\models\mapobjects\vandal\vandal.md3
than give shader path:
C:\Program Files\Tremulous\base\models\mapobjects\vandal

2.than copy texture in that folder, rename it to 'vandalm'(name of material i used in blend)

3.than I lunch Trem, I open consol and type in '/devmap atcs'

4.than '/testmodel models/mapobjects/vandal/vandal.md3'

and i get: 'cant register model'
(Testing for eg. battpack, or jetpack(I used '/modellist' for finding the path) was working)
if you cant help me, than maybe i should upload my model and give it to someone who can test it.
I dont want to start doing animations not knowing even if my model will be ok for trem.

Thank You!
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #19 on: September 09, 2007, 03:53:27 pm »
sorry forgot about one thing either you need to set sv_pure to 0
or keep the model in a pk3

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #20 on: September 09, 2007, 04:11:46 pm »
so i should pack 'models' to .zip and change it to .pk3
or type in '/set sv_pure 0'(?)
Edit: hehe, i put it into .pk3 and it worked :)
its not perfect so i will continue to post questions here
THANK YOU SOOOOOOOO MUCH! :)


Edit2:so i did as i wrote,
now here what i see:


as you can see some faces are showing some not depending on angle of looking<= that is, I guess, a problem
Happy New Year Everybody! : signature adequate once a year.

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Help with BLENDER needed!
« Reply #21 on: September 09, 2007, 04:45:11 pm »
Wow. Is it controllable, and has someone made textures for it?

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #22 on: September 09, 2007, 05:04:23 pm »
Quote from: "Death On Ice"
Wow. Is it controllable, and has someone made textures for it?

No, its just tested. You cant move it(Animations and codes are not done yet)
And textures, yes i did but its not finished.
Although its textured you cant see textures... another problem.
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #23 on: September 09, 2007, 05:17:56 pm »
hmm there is a shader parameter to make surfaces 2-sided
I dont remember

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #24 on: September 09, 2007, 06:13:25 pm »
Quote from: "tehOen"
hmm there is a shader parameter to make surfaces 2-sided

you mean in blender?
Happy New Year Everybody! : signature adequate once a year.

tehOen

  • Guest
Help with BLENDER needed!
« Reply #25 on: September 09, 2007, 06:54:50 pm »
no tremulous
like shaders used in maps
you need to create a shader for the material used for the model

Redsky

  • Posts: 207
  • Turrets: +35/-6
Help with BLENDER needed!
« Reply #26 on: September 11, 2007, 04:07:32 pm »
Do i have to make a new shader? Cant i use a default player shader(or something?)
I dont have that much time to study all of this text(not even part of it, really), not right now...
Other models whan tested(alien models that is) dont have textures either, is there a way of checking if texture is ok?
(wow so many questions in one post :oops: you can easly tell that im a noob)

EDIT: Ahhhh, i forgot: If anyone had same problem as i had with exporting to md3 using blender, heres resolution Risujin gave me:
Recalculate Normals Inside (that would be ctrl+shift+N i guess)
« Last Edit: November 30, 2007, 06:28:38 pm by Redsky »
Happy New Year Everybody! : signature adequate once a year.