Logo by mauxuam - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 19, 2024, 05:37:46 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: SDL / C++ application for exploring mandelbulb slices  (Read 10623 times)
0 Members and 1 Guest are viewing this topic.
Snakehand
Guest
« on: December 17, 2009, 12:50:15 PM »

I hereby make the following code available for tinkering with:

http://traxme.net/fractal/2d-slices-bulb.tar.gz

It is a small SDL application that compiles on Linux, but should be easy to compile on Windows / Mac. It allows the user to interactively explore slices of the order 8 mandelbulb.

Controls are: Up/down/left/right - pan
Page up / page down - zoom
asdf / zxcv move the plane up / down at varying intervals.

Logged
TimGolden
Forums Freshman
**
Posts: 11



WWW
« Reply #1 on: December 17, 2009, 03:40:08 PM »

I tried out your code.
So nice and light and simple!

For a beginner you may need to make some mods to get started.
I modified the Makefile to:

#BROOK_INC=/usr/local/atibrook/sdk/include
#BROOK_LIB_PATH=/usr/local/atibrook/sdk/lib/

all: bulber

#Bulber.o: Bulber.cpp
#   gcc -O2 -mtune=athlon-4 -c Bulber.cpp -I $(BROOK_INC)
Bulber.o: Bulber.cpp
   gcc -O2 -c Bulber.cpp

SdlMain.o: SdlMain.cpp
   gcc -c SdlMain.cpp \
   `sdl-config --cflags --libs`

bulber: Bulber.o SdlMain.o
   g++ -o bulber Bulber.o SdlMain.o -ldl `sdl-config --cflags --libs`

clean:
   rm bulber Bulber.o SdlMain.o

<End of Makefile>
which I put here in case a beginner comes along and doesn't know about Makefiles.
Also I needed to add the sdl development files for SDL.h, but that is standard stuff.
There is also a file named bulb.o in the original Makefile which is a bug.

Nice Work Snakehand! This is the lightest graphical interface that I've ever seen.
Sweet Simplicity.

 - Tim
Logged
Snakehand
Guest
« Reply #2 on: December 17, 2009, 04:01:19 PM »

...
which I put here in case a beginner comes along and doesn't know about Makefiles.
Also I needed to add the sdl development files for SDL.h, but that is standard stuff.
There is also a file named bulb.o in the original Makefile which is a bug.

Nice Work Snakehand! This is the lightest graphical interface that I've ever seen.
Sweet Simplicity.

 - Tim


Thanks, I updated the Makefile & tar archive with your fixes.

Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Slices 2 - Mandelbulb 3D voxel stack animation Movies Showcase (Rate My Movie) Don Whitaker 1 3332 Last post September 06, 2012, 08:43:50 AM
by art.cjbarnaby.com
Slices of the mandelbulb General Discussion TruthSerum 0 2771 Last post June 30, 2014, 11:20:12 PM
by TruthSerum
3d printing directly from 2d slices or voxel objects 3D Fractal Generation ansr23 7 10614 Last post December 31, 2015, 06:11:20 AM
by ansr23
Can i despeckle slices from the VoxelStack? Mandelbulb 3d Mrz00m 0 2932 Last post January 11, 2017, 12:27:15 PM
by Mrz00m
Export MB3D colors to voxel slices Mandelbulb 3d Martians 1 6046 Last post February 15, 2017, 10:45:07 PM
by Sockratease

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.151 seconds with 29 queries. (Pretty URLs adds 0.005s, 2q)