project-navigation
Personal tools

Author Topic: Need some help to realize a model  (Read 6490 times)

Offline kracken

  • Squad Leader
  • ****
  • Posts: 159
    • View Profile
Need some help to realize a model
« on: September 30, 2006, 09:42:54 pm »
Hello,

I know nothing about modelling, but I would like to help so I tried to make the model of a car (you're always saying you need some ! :) ). You'll tell me when I'll be finished if I can do some modelling for you or if I'm not good enough at it !
I'm using Blender.

I made the model of the car, and I put a texture on it. It looks OK on blender. I exported the result as a .md2 file ; and I used your find_broken_models.sh, which answers :

Code: [Select]
./objects/cars/4x4/4x4.md2: crattack_1
./objects/cars/4x4/4x4.md2: crattack_2
./objects/cars/4x4/4x4.md2: crattack_3
./objects/cars/4x4/4x4.md2: crattack_4
./objects/cars/4x4/4x4.md2: crattack_5
./objects/cars/4x4/4x4.md2: crattack_6
./objects/cars/4x4/4x4.md2: crattack_7
./objects/cars/4x4/4x4.md2: crattack_8
./objects/cars/4x4/4x4.md2: crattack_9
./objects/cars/4x4/4x4_t.md2: crattack_1
./objects/cars/4x4/4x4_t.md2: crattack_2
./objects/cars/4x4/4x4_t.md2: crattack_3
./objects/cars/4x4/4x4_t.md2: crattack_4
./objects/cars/4x4/4x4_t.md2: crattack_5
./objects/cars/4x4/4x4_t.md2: crattack_6
./objects/cars/4x4/4x4_t.md2: crattack_7
./objects/cars/4x4/4x4_t.md2: crattack_8
./objects/cars/4x4/4x4_t.md2: crattack_9


So I guess that means that my model is broken, is it ? Can someone explain me what is a broken model ? Does that mean that all vertices are not connected to a face ?

I have another question. The script to export .md2 files produce 198 frames. How can I have only one frame to have a smaller file ?

Offline kracken

  • Squad Leader
  • ****
  • Posts: 159
    • View Profile
Need some help to realize a model
« Reply #1 on: October 01, 2006, 06:15:47 pm »
I tried something about the crattack problem : I imported the tires "van1t.md2" and the associated .jpg file in "base/models/objects/cars/van" with Blender, and then I exported it into .md2.(I didn't change anything in the model).

When I use find_broken_models on the original file, it's OK. But when I use it on the .md2 I build, it just says the same crattack problem than before.

So I guess I'm doing something wrong with the export program. Here is what I'm doing :
- I select the object I want to export in object mode
- I click on export .MD2 (I'm using Blender2.42a)
- I change the name in "MD2 file to save" to 4x4.md2
- I click on Export.

Do you have any idea about what I'm missing ? A texture problem ?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Need some help to realize a model
« Reply #2 on: October 01, 2006, 09:20:42 pm »
maybe you should send a pm to hoehrer - or join the irc channel.

sorry but i can't help you with blender.

Hoehrer

  • Guest
Need some help to realize a model
« Reply #3 on: March 16, 2007, 10:26:34 am »
Ok, to finally get this "find_broken_models.sh" stuff cleared up... let's talk use-cases here.

I doubt any animation is needed for most (if not all) of the md2 map-objects. "crattack" is the animation frame for crouch-attack and would only be there for animated models (duh)


Let's have a look at the code:
Code: [Select]
#!/bin/sh

find . | xargs strings -f | grep crattack


What does this do? It seems to me it only displays all files that have the string "crattack"  in it and does nothing else.

Ideas? Should we even keep this script? At least some info-output from it would surely help people so they know what they get.

Werner