Results 1 to 21 of 21

Thread: Cheap 3-D

  1. #1

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Add Comments

    Download my file. Give it a try. Post comments or e-mail me at [email protected] dont just watch tell me you are their and get the file

  2. #2

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    ?!

    STOP JUST VIEWING THIS EITHER POST A MESSAGE OR DOWNLOAD THE FILE IT IS A GOOD CONTROL FOR NOVICE PROGRAMMERS

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Yelling at people isn't the best way to get your post-count up...

    Upload it somewhere else 'cuz for some reason I cant get to it, please?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278
    Goto 3-D Wireframe it has the file. Its an ACTIVE X control extract itappears as ThreedXD when you goto add components.

  5. #5
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Hey, there's only one problem with that - the control doesn't appear in the Components when I unzip it to C:\Windows\System!
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  6. #6

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Exclamation Reply

    Try clicking browse it should appear as ThreedXD normally. It Will appear as 3XD if you browse through Windows System by clicking browse
    Give it a try
    Last edited by VBD; May 13th, 2001 at 10:34 AM.

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    register it, type regsvr32 filename in run
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Hey, thanks, it works now.

    I tried the AddLine method just for testing, but it doesn't seem to work. I already made it 640x480. Maybe it's just me, I'll try again later - don't have much time now
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  9. #9

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Problem

    It has a scalewidth of 640, a scaleheight of 480, you can make it be ass big as you want. To get the line to be displayed, you must call the Draw Function on it(XD1.Draw)

  10. #10
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Yeah, that's probably it. Good thing you keep the stuff in memory before drawing it, because that would be bad programming practice (to simply draw the line and here we go ). I'm gonna try it when I get home, sorry I didn't try hard enough that time

    Maybe post here a sample program, ok? People like to see things moving...
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  11. #11
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Yeah, you're right - it's a cool control, maybe instead of Cheap 3D you should call it... Easy 3D

    Anyway, something I noticed... (and take this as constructive critics, ok? ) - you should clear the control before drawing, because when I tried it, everything was in place, but each frame was on top of the other... but the rest is fine
    Maybe you should make it load some kind of file with a 3D model?...
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  12. #12

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Clear

    Before drawing a new frame if you want animation, call XD1.Clear to clear its view. this does not erase the object in memory, just the appearence

  13. #13
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Heh, thanks! Again, sorry for not looking at the code like I should, ok?
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  14. #14
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Heh, thanks! Again, sorry for not looking at the code like I should, ok?

    BTW: You should include an help file!
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  15. #15

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278
    U R Welcome

  16. #16

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278
    Waz^? Anyone created anything interesting with X3D? Post it. Tell about it

  17. #17
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It is a cool control...
    Sorry for kinda yelling at you back there

    I made a line spin in like 4 mins.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  18. #18

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Help!!!!

    To Display a line add this code
    XD1.Clear
    'Clears the Display
    XD1.AddLine X1,X2,Y1,Y2,Z1,Z2,Red,Green,Blue
    'X1 and X2 are the x values of each end of the line.
    'Y1 and Y2 are the y values of each end of the line.
    'Z1 and Z2 are the z values of each end of the line.
    'Red is the red value of the line on a value from 0 to 255
    'Green is the green value of the line on a value from 0 to 255
    'Blue is the blue value of the line on a value from 0 to 255
    XD1.Draw CX,CY,CZ,XAngle,YAngle
    'CX is the X of the camera
    'CY is the Y of the camera
    'CZ is the z of the camera
    'XAngle is the XAngle of the
    'YAngle is theYAngel of the Camera
    'X and Y Angle may have some errors

    Use this code!!!
    I am currently working on a game using XD1

  19. #19
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Hey, Vbd, nice

    After people see a game (even if it's a small game), they'll start wanting to use your control because it's a lot easier than Direct3D
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  20. #20

    Thread Starter
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278
    Because DirectX has more capabilitys i am creating a second version which runs on DirectX. It will be the same except let you add spheres,triangles, tetragons etc. It will all be in the same format though. Also, just as easy to use.
    Such as to draw a sphere you would do his..
    XD1.Add Sphere X,Y,Z,Diameter,Red,Green,Blue

    I am still learning DirectX and developing the new version. It will be much better. Also without the problems when rotating

  21. #21
    Member
    Join Date
    Mar 2000
    Location
    Galt, Ca
    Posts
    47

    Talking nice job

    cool control... it's a little complicated to use though, can you give a bit of a more in depth tutorial?

    thanks -

    emptywords

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width