K3DSurf
Science
Description:

K3DSurf is a program to visualize and manipulate Multidimensional surfaces by using Mathematical equations. It's also a "Modeler" for POV-Ray in the area of parametric/iso surfaces.

Features :
* 3D, 4D, 5D and 6D HyperObjects visualization.
* Animation and Morph effect.
* Povscript and OBJ Mesh file export.
* More than 100 examples.

***************************************

Changelog:

3 years ago

MathMod is a new project that is a complete rewrite of K3DSurf, with many new features and optimizations.
Please visit the new project home page at: http://kde-apps.org/content/show.php/MathMod?content=163992

7 years ago

Draeden

Very useful program.
But what should I do if I want to generate mesh 1000x1000x1000 ? The fact that all parameters are changed with sliders makes this program very slow. Why cant I directly input grid resolution ?

Report

7 years ago

virtualmeet

Hi,
You can set the grid resolution before generating the mesh:
1) deactivate the button "xyz"
2) move the slider to your resolution of choice
3) activate the button "xyz"
BTW, the maximum grid allowed is 500x500x500 which already need a huge amount of RAM...not to mention the size of the generated Mesh

Report

7 years ago

Draeden

Hmmm... The maximum resolution is 100x100x100. I cant enable 500x500x500.

Report

7 years ago

virtualmeet

To change the maximum resolution go to:
"Options:Export/Resolution/Optimisation" --> "Resolution" --> "MaxGrid ="
Also, you can use the "Config" option in the menu to enable K3DSurf to have your Maximum grid on the startup.

Report

7 years ago

Draeden

Works.

I just want to generate a file for POV Ray, but it makes me view the full resolution surface. Because of it allocates the whole free memory, it's very slow.

Report

7 years ago

virtualmeet

There is a work arround:
1)Try to "Run" povray: this will generate two files: Mesh.inc and tesr.pov without having to view them.
2) You have to stop Povray when it starts (close the xwindow).
For the OBJ files, yon have an area in the corresponding menu for choosing the name on the OBJ file: if it's filed, K3DSurf will generate the OBJ file without loading it in the small editor.

Report

3 years ago

AlbertoPblanco

Hello!

Can you tell me the specific steps to do that? I try several times but I don't know which is the menu / field that I have to set up with file.obj

Thank you for this wonderfull program!

Report

3 years ago

virtualmeet

Hi Alberto,
Maybe this can help: http://k3dsurf.s4.bizhat.com/k3dsurf-ftopic163.html
Cheers,
Abderrahman

Report

9 years ago

jts


C:\k3dsurf62\src\glviewer.cpp(629) : error C2385: 'OpenGlWidget::Qt' is ambiguous
C:\k3dsurf62\src\glviewer.cpp(644) : error C2385: 'OpenGlWidget::WNoAutoErase' is ambiguous
C:\k3dsurf62\src\glviewer.cpp(753) : error C2385: 'OpenGlWidget::Qt' is ambiguous
C:\k3dsurf62\src\IsoPanel.cpp(331) : error C2385: 'IsoWidget::WNoAutoErase' is ambiguous
C:\k3dsurf62\src\panel.cpp(319) : error C2385: 'ConnectWidget::WNoAutoErase' is ambiguous
C:\k3dsurf62\src\k3dsurf.cpp(136) : error C2385: 'OpenGlWidget::PaletteDark' is ambiguous
C:\k3dsurf62\src\k3dsurf.cpp(144) : error C2385: 'ConnectWidget::PaletteDark' is ambiguous
C:\k3dsurf62\src\k3dsurf.cpp(165) : error C2385: 'IsoWidget::PaletteDark' is ambiguous
Error executing cl.exe.

k3dsurf62.exe - 8 error(s), 17 warning(s)

win2000sp4,
msvc 6.0
Qt 3.3.4-3 free for msvc
first use command:qmake -t vcapp,get a .dsp file ,then use the .dsp file to
build a vc++ project.

Report

9 years ago

virtualmeet

Open a DOS window and execute:
qmake;
nmake;
And wait for one hour or more.

Report

9 years ago

jts

use command:qmake, nmake
generate the same errors:
src\Model3D.cpp(5646) : see declaration of 'i'
panel.cpp
src\panel.cpp(319) : error C2385: 'ConnectWidget::WNoAutoErase' is ambiguous
src\panel.cpp(319) : warning C4385: could be the 'WNoAutoErase' in base 'Qt' of
base 'QObject' of base 'QWidget' of class 'ConnectWidget'
src\panel.cpp(319) : warning C4385: or the 'WNoAutoErase' in base 'Qt' of base '
QThread' of class 'ConnectWidget'
k3dsurf.cpp
src\k3dsurf.cpp(136) : error C2385: 'OpenGlWidget::PaletteDark' is ambiguous
src\k3dsurf.cpp(136) : warning C4385: could be the 'PaletteDark' in base 'Qt' of
base 'QObject' of base 'QWidget' of base 'QGLWidget' of class 'OpenGlWidget'
src\k3dsurf.cpp(136) : warning C4385: or the 'PaletteDark' in base 'Qt' of base
'QThread' of class 'OpenGlWidget'
src\k3dsurf.cpp(144) : error C2385: 'ConnectWidget::PaletteDark' is ambiguous
src\k3dsurf.cpp(144) : warning C4385: could be the 'PaletteDark' in base 'Qt' of
base 'QObject' of base 'QWidget' of class 'ConnectWidget'
src\k3dsurf.cpp(144) : warning C4385: or the 'PaletteDark' in base 'Qt' of base
'QThread' of class 'ConnectWidget'
src\k3dsurf.cpp(165) : error C2385: 'IsoWidget::PaletteDark' is ambiguous
src\k3dsurf.cpp(165) : warning C4385: could be the 'PaletteDark' in base 'Qt' of
base 'QObject' of base 'QWidget' of class 'IsoWidget'
src\k3dsurf.cpp(165) : warning C4385: or the 'PaletteDark' in base 'Qt' of base
'QThread' of class 'IsoWidget'
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'

Report

9 years ago

jts

Hi. K3DSurf (0.6.1) now build successfully under win2000sp4, Thanks!
It took more than 75 minutes
(Intel 2.4GH/256M).

Report

9 years ago

virtualmeet

You're welcome :)
The next update will require Qt version above of 3.3.4 since I experienced some crashs under windows (it works under Linux with 3.3.4).
Also, suggestions and bugs should be reported here: http://k3dsurf.s4.bizhat.com/
Regards,
Taha

Report

9 years ago

jts

This program is very good,it goes
smoothly on the windows 2000. but in
operating the 3d graph Projection,add
the functions:Orthographic Projection,
Perspective Projection,the application
will be better in showing 3d plots.

Report

9 years ago

jts

-o k3dsurf.o k3dsurf.cpp in file include
from k3dsurf.h:14,from k3dsurf.cpp:10:
C:/qt/334/include/qpixmap.h:249:warning:
'vold bitBlt<QPaintDevice*,int,int,Const
QPaintDevice*,int,int,int,int,Qt:
RasterOp,bool>'.redeclared without
dllimport attribute after being referenced with dllimport linkage.
For some reason unknown to me, the build process stay here long not to
continue!
win2000sp4,
gcc,g++ 3.4.2 mingw
Qt 3.3.4-3 free for mingw
first use command:qmake,then make.

Report

9 years ago

virtualmeet

> For some reason unknown to me, the build process stay
> here long not to continue!
The time compilation under Windows is quite long (45minutes for an Athlon 2GH/256M/WinXP) !
This message is just a warning from GCC and you have to be "very" patient when compiling K3DSurf under windows.
Regards,
Taha

Report

10 years ago

gohanz

A Slackware 11.0 package with SlackBuild is ready to download!


www.slacky.it


http://www.slacky.it/index.php?option=com_remository&Itemid=29&func=fileinfo&id=825

Report

10 years ago

virtualmeet

Thanks :). Package updated along with the link.
Regards,
Taha

Report

10 years ago

djclue917

Hi. Since K3DSurf (0.6.0) now build successfully under Arch, I've already uploaded my PKGBUILD in AUR. I hope you could put a link here. Thanks!

http://aur.archlinux.org/packages.php?do_Details=1&ID=7658

By the way, there's some minor "bug" (well, it's not technically a bug) that I've noticed. You forgot to update the version in the caption string "K3DSurf v0.5.6 : Math for Fun" in src/k3dsurf.ui

Report

10 years ago

virtualmeet

It's corrected and Arch Linux Added in the package list. Thanks for your contribution.

Report

10 years ago

djclue917

g++ -o ../bin/k3dsurf main.o panel.o Matrix3D.o IsoMatrix3D.o Model3D.o fparser.o edit.o Matrix4D.o Matrix5D.o videoplayer.o Matrix6D.o Iso3D.o IsoPanel.o k3dsurf.o newwindow2.o IsoWindow.o moc_panel.o moc_edit.o moc_videoplayer.o moc_IsoPanel.o moc_k3dsurf.o moc_newwindow2.o moc_IsoWindow.o -L/opt/qt/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
panel.o: In function `ConnectWidget::videorecord()':
panel.cpp:(.text+0x15de): undefined reference to `QPNGImagePacker::QPNGImagePacker(QIODevice*, int, int)'
panel.o: In function `ConnectWidget::paintEvent(QPaintEvent*)':
panel.cpp:(.text+0x563d): undefined reference to `QPNGImagePacker::packImage(QImage const&)'
collect2: ld returned 1 exit status
make[1]: *** [../bin/k3dsurf] Error 1

For some reason unknown to me, the build process failed. It failed upon trying to link the object codes.

Arch Linux:
Qt 3.3.6
KDE 3.5.4
GCC 4.1.1
X.org 7.1

Report

10 years ago

virtualmeet

The only reason I can see for that is that gcc is using the wrong library to construct the final binary. Do you have Qt4 installed in your system? Perhaps gcc is trying to link this one instead of Qt3.
If Qt3 is installed, then you have only to specify the right path to Qt3 in the last command :
g++ -o ../bin/k3dsurf main.o panel.o Matrix3D.o IsoMatrix3D.o Model3D.o fparser.o edit.o Matrix4D.o Matrix5D.o videoplayer.o Matrix6D.o Iso3D.o IsoPanel.o k3dsurf.o newwindow2.o IsoWindow.o moc_panel.o moc_edit.o moc_videoplayer.o moc_IsoPanel.o moc_k3dsurf.o moc_newwindow2.o moc_IsoWindow.o -L/opt/qt/lib(you have to specify here the right path to Qt3) -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread

Report

10 years ago

djclue917

I don't think that a QT4 installation would be a problem. In my case, QT3 profile is sourced before the build process. To verify this, I've temporarily uninstalled QT4, then retried the build process. I also don't see why it can't link to the QT3 libs.

Report

10 years ago

virtualmeet

Anyway, Png file format was dropped in Qt4 and K3DSurf will not use this feature in the future to make it compatible with Qt4. Perhaps in the next release I'll make some changes to the code.

Report

10 years ago

gohanz

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 85%
85.00 Likes
15 Dislikes

0 Supporters for K3DSurf:

Recent Donations:

Be the first to donate
show all
Details
version
0.6.2
updated Mar 04 2014
added Jun 06 2005
downloads
page views 7474
support virtualmeet
For The Product
K3DSurf
5 - 10 - 25 - 50 - 100 - 200 - 500