POV-Ray : Newsgroups : povray.binaries.images : knotworks (~60kb bu) : knotworks (~60kb bu) Server Time
4 Nov 2024 16:25:14 EST (-0500)
  knotworks (~60kb bu)  
From: Marc Schimmler
Date: 23 Mar 2000 17:50:17
Message: <38DAA1F1.65DCC4D1@ica.uni-stuttgart.de>
Hi all!

I've already shown a pic of a celtic knotwork. I promised I would create
an include file but since David Wilkinson's birthday nothing happend.
The truth is that the include file has already been finished at that
moment but I thought that the usage would be too difficult.
The whole thing is based on an article from Andrew Glassner about celtic
knotworks and his formulated algorithm to draw them. You have three
grids and must take care to ...

I decided instead to hone my C++ skills and wrote an app that provides a
user interface where you can draw the knotwork and where the app takes
care that you don't violate any rules. This app spits out the include
file (in fact an array with some #declares) that you can use with the
existing knotwork include file.
This has been my first bigger C++ program, my first first gui
programming and therefore the code is not in a shape I would wish for
(but it works :-) will be published soon).
I used fltk as toolkit which has the advantage that it also exists for
the Win32 platforms. Problem is, I don't have a WIN32 C++ compiler at
hand (I would be happy if someone could support me there) I just don't
trust the free Borland commandline compiler, yet.
Two attachments: the first shows the main gui window on my X-windows
screen and the second shows the resulting pov scene.
What do you think? Is it useful?

Greetings,

Marc


Post a reply to this message


Attachments:
Download 'test.jpg' (21 KB) Download 'gui.jpg' (40 KB)

Preview of image 'test.jpg'
test.jpg

Preview of image 'gui.jpg'
gui.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.