how can I open a STL files with 0penGL??

Abc51691e47ee77402ca4b8398b3b98f
0
wumath 101 Jan 05, 2006 at 13:48

Hello!!Anybody can tell me that how can I open a STL files with 0penGL(on c++ builder 6)??

12 Replies

Please log in or register to post a reply.

340bf64ac6abda6e40f7e860279823cb
0
_oisyn 101 Jan 05, 2006 at 14:02

what’s an STL file?

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Jan 05, 2006 at 14:11

Do you mean #include and STL header file?

77078a51228688ee3cc87e539c4ff235
0
Faelenor 101 Jan 05, 2006 at 21:09

I guess he means the “stereolithography” ascii file format.

Well, you open it just like any other file and you have to write a simple parser to read it. There is no file format supported in OpenGL, it’s only a graphics api. If you want to read a specific file, you have to write the reader yourself.

Abc51691e47ee77402ca4b8398b3b98f
0
wumath 101 Jan 06, 2006 at 03:23

yes,I mean “stereolithography”……
Can you write some code to help me??
let me to know that how to do…..
thank you very much

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Jan 06, 2006 at 03:57

Wow! What a great example of how to NOT go about getting get help from a forum. :blink:
Why would someone waste their time to do a bunch of work for you when you won’t even type a decent post? Faelenor went through the trouble of deriving the meaning of your crypting question, and he even capitalized the first word of each sentence!
Maybe this link will help you out.

537a7b73b64ed87edbb0d21293a64208
0
andrew_bay 101 Jan 31, 2006 at 20:29

i love that link, never seen it before

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Jan 31, 2006 at 21:24

:lol: You just bumped the catalyst for eddie’s suggestion of my JwN meter!

Hopefully, wumath figured out how to render his “STL” files. He did say: “thank you very much”

Cd577ee1cb56aa2ad5645b7daa0a2830
0
eddie 101 Jan 31, 2006 at 22:56

I really wish your JwN meter was ‘statically’ imprinted on a page. It would be interesting to see if it went up or down in a given thread. :)

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Feb 01, 2006 at 14:13

Well… I could paste it into each post instead of using a signature….

monjardin’s JwN Meter (1):
|—-|—-|—-|—-|—-|—-|—-|—-|—-|—-|
***********************

:geek: That’s a pretty sad thing to do with my time. :geek:

340bf64ac6abda6e40f7e860279823cb
0
_oisyn 101 Feb 01, 2006 at 16:21

[ok, this is becoming totally offtopic]

Is it allowed to have an image in your signature? If it is, you can write a script that generates the JwN meter image using the referer header :)

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Feb 01, 2006 at 22:03

That’s a great idea, but alas, images in the signature are verboten… :(

B91eae75cd6245bd8074bd0c3f1cc495
0
Nils_Pipenbrinck 101 Feb 01, 2006 at 22:16

@monjardin

images in the signature are verboten… :(

Jawoll! (said the german!) icon\_salut.gif