Jump to content

  • Log In with Google      Sign In   
  • Create Account

Sik_the_hedgehog

Member Since 31 Jan 2009
Offline Last Active Private

Topics I've Started

Problem with a custom OBJ exporter

11 March 2016 - 09:55 AM

This has been driving me nuts for quite a while and I'm getting tired. I made an exporter from my own mesh format to OBJ (for the sake of testing until I have a proper model viewer), but when I try to import the resulting OBJ into MeshLab, this happens:

 

2mdKqxJ.png

 

It looks like for whatever reason all normals end up the same? I know MeshLab has no problems with other OBJ models so that obviously isn't the issue. But on the other hand I can't spot any obvious problem in the generated OBJ either:

v -1.000000 -1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v -1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 -1.000000 1.000000
v 1.000000 1.000000 1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 1.000000 1.000000
v 1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 1.000000 1.000000
v -1.000000 1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 1.000000 1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 -1.000000 1.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
f 1/1/1 2/2/2 3/3/3
f 3/3/3 4/4/4 1/1/1
f 5/5/5 6/6/6 7/7/7
f 7/7/7 8/8/8 5/5/5
f 9/9/9 10/10/10 11/11/11
f 11/11/11 12/12/12 9/9/9
f 13/13/13 14/14/14 15/15/15
f 15/15/15 16/16/16 13/13/13
f 17/17/17 18/18/18 19/19/19
f 19/19/19 20/20/20 17/17/17
f 21/21/21 22/22/22 23/23/23
f 23/23/23 24/24/24 21/21/21

Can somebody here help me find out what obvious stupid thing I'm overlooking?


Note to self

09 February 2016 - 12:49 PM

Don't erase your whole filesystem. Especially not when the back-up drive is mounted.


Forums about font design?

23 August 2015 - 12:04 PM

I'm not exactly a professional font designer nor I intend to be, but I do occasionally design fonts (e.g. see Cyber-o-ise), and sometimes I'd wish I could discuss stuff about making fonts but I don't know a place where to ask. E.g. one thing I want to ask is how to handle kanji in a monospace font, those are too wide and would need two cells instead of one (good enough for the intended purpose, i.e. column alignment) but then it wouldn't be strictly monospace anymore, right? (bispace?)

 

Anyway, so here's a question: does anybody here happen to know a good forum where I could talk to other people making fonts? I know I could search around (in fact I am) but I wondered if somebody had any place in particular to recommend.


I'm being trolled by my own game

05 June 2015 - 08:55 PM

  • Try to implement scaling of a new sprite in Miniplanets
  • Spend all day figuring out why it doesn't cover the entire scaling range
  • Give up, go away for a few hours
  • Return, try the game to see where I left
  • ...and the scaling is working as intended

What the-?


Help with CSS and fonts

27 May 2015 - 06:55 PM

And this is when I wish we had a web design forum (・_・)

 

Trying to test some new fonts I'm designing by rendering them into a page, but I have a problem. Using them as-is, I get some more gap than needed since line-height is not 1em by default, alright. But using 1em doesn't work either, because there's some extra spacing above the ascent that isn't taken into account as part of the em calculation. Highlighting the text does show that the browser sees this extra spacing properly (the highlight covers the exact spacing I want), however, so the font definitely has the correct configuration.

 

Here's the question: is there a reliable way to get the line height to match exactly the font's height (full height, not just 1em) or do I have to specify this manually for every font?

 

EDIT: oh and before I forget, the kind of people who'd be more likely to look at that stuff are also most likely going to have their browsers up to date or nearly up to date, so if it's something that relies on new CSS features it's usually OK (as long as it doesn't require enabling some setting in about:config or something like that).


PARTNERS