Jump to content


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


12 replies to this topic

#1 wumath

    New Member

  • Members
  • Pip
  • 2 posts

Posted 05 January 2006 - 01:48 PM

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

#2 .oisyn

    DevMaster Staff

  • Moderators
  • 1842 posts

Posted 05 January 2006 - 02:02 PM

what's an STL file?
C++ addict
-
Currently working on: the 3D engine for Tomb Raider.

#3 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 05 January 2006 - 02:11 PM

Do you mean #include and STL header file?

#4 Faelenor

    Member

  • Members
  • PipPip
  • 44 posts

Posted 05 January 2006 - 09:09 PM

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.

#5 wumath

    New Member

  • Members
  • Pip
  • 2 posts

Posted 06 January 2006 - 03:23 AM

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

#6 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 06 January 2006 - 03:57 AM

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.

#7 andrew bay

    New Member

  • Members
  • Pip
  • 5 posts

Posted 31 January 2006 - 08:29 PM

i love that link, never seen it before

#8 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 31 January 2006 - 09:24 PM

: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"
monjardin's JwN Meter (1,2,3,4,5,6):
|----|----|----|----|----|----|----|----|----|----|
*

#9 eddie

    Senior Member

  • Members
  • PipPipPipPip
  • 751 posts

Posted 31 January 2006 - 10:56 PM

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. :)

#10 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 01 February 2006 - 02:13 PM

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:
monjardin's JwN Meter (1,2,3,4,5,6):
|----|----|----|----|----|----|----|----|----|----|
*

#11 .oisyn

    DevMaster Staff

  • Moderators
  • 1842 posts

Posted 01 February 2006 - 04:21 PM

[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 :)
C++ addict
-
Currently working on: the 3D engine for Tomb Raider.

#12 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 01 February 2006 - 10:03 PM

That's a great idea, but alas, images in the signature are verboten... :(
monjardin's JwN Meter (1,2,3,4,5,6):
|----|----|----|----|----|----|----|----|----|----|
*

#13 Nils Pipenbrinck

    Senior Member

  • Members
  • PipPipPipPip
  • 597 posts

Posted 01 February 2006 - 10:16 PM

monjardin said:

images in the signature are verboten... :(

Jawoll! (said the german!) Posted Image





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users