Results 1 to 2 of 2

Thread: 3D curves texturing between mathematica and thinbasic

  1. #1

    3D curves texturing between mathematica and thinbasic

    Wolfram Research is partnering with NVIDIA to integrate GPU programming into Mathematica.
    this is the latest news from wolfram mathematica:
    http://blog.wolfram.com/2010/09/14/m...fferent-light/
    also look at the video link in that page.
    look also the article:
    http://blog.wolfram.com/2010/09/20/t...n-mathematica/

    it planned to utilize nvidia cards in the mathematica in the next version 8
    in the article "Twisted Pictures":
    http://blog.wolfram.com/2010/09/01/twisted-pictures/
    the author was playing in an experimetal v8, he show that the new version enable the user to texture a 3d curve like this:


    to produce the result as in the above article.

    i remembered the Petr example waterpatch in "Height of ground, how to get this":
    http://www.thinbasic.com/community/s...ow-to-get-this
    and the more advanced:
    http://community.thinbasic.com/index...27012#msg27012

    it is possible to texture a curve in thinbasic: here is the same Petr example, i just replaced the original 3d curve by a 3d ripple curve , it should produce this image:
    attachment1.jpg

    you can find more 3d curves from here:
    http://www.benjoffe.com/code/tools/functions3d/examples
    also test your curves here:
    http://www.benjoffe.com/code/tools/functions3d/
    and since the model x and z go from -3 to 3 and our example go from -1 to 1 so we have passed x,z to returnY as returnY(x/3,z/3), correct me Petr if i am wrong, i have some ambiguity here.

    other interesting curve is what produced A letter, just uncomment the suitable line to make it appear like this:
    attachment2.jpg

    attached the same Petr example with the new equations.
    if you don't want the animation just delete gFrameTime/600

    PS: added with_tiger_skin other example, you will feel as if the skin of the tiger almost about to tear. if you want one piece of skin convert it like the other examples.
    Attached Files Attached Files
    Last edited by zak; 26-02-2012 at 12:35.

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: 3D curves texturing between mathematica and thinbasic

    Hi Zak,

    thanks a lot for sharing, it looks very good! I like it very much, the A letter is great

    With thinBasic it would be also possible to perform the computation on GPU, as I translated the OpenCL headers.
    The problem is that this approach needs new card and even newer drivers


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. Mathematica Home Edition
    By jack in forum Software discussion
    Replies: 1
    Last Post: 10-09-2011, 09:32

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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