forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 56 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: opengl textures. do anyone have it make working?
acp693

Replies: 9
Views: 12671

PostForum: ClearWin+   Posted: Sat Dec 10, 2011 7:34 pm   Subject:
Hi Dan,

I just copied and pasted the two files ( from the 3rd and 4th replies) into a new project ( in plato 4.3.0)
built it and it ran first time. it shows a triangle laid over with a 1 dimension ...
  Topic: opengl textures. do anyone have it make working?
acp693

Replies: 9
Views: 12671

PostForum: ClearWin+   Posted: Tue Dec 06, 2011 4:40 pm   Subject:
Hi have a look at this thread that I started a couple of years ago


http://forums.silverfrost.com/viewtopic.php?t=1344

I successfully created and used a 1d texture in opengl using silverfrost ( ...
  Topic: Texture in OpenGL?
acp693

Replies: 8
Views: 14041

PostForum: Support   Posted: Mon Nov 29, 2010 1:14 pm   Subject:
Although I started this thread sometime ago, I thought it might be interesting to report progress on my opengl application. The little test application i posted will still only display textures proper ...
  Topic: dynamic scrollbars in a MDI frame
acp693

Replies: 4
Views: 8416

PostForum: ClearWin+   Posted: Thu May 14, 2009 7:57 am   Subject:
Thanks Paul,

Your second suggestion works

changing the lines in the function scrollfunc() from

if(is)then
ist=.true.
endif

to the following solves the problem

if ...
  Topic: Callback on resizing
acp693

Replies: 2
Views: 6427

PostForum: ClearWin+   Posted: Thu May 14, 2009 7:01 am   Subject:
What about %`mv ? this provides a callback when the parent is resized.
  Topic: dynamic scrollbars in a MDI frame
acp693

Replies: 4
Views: 8416

PostForum: ClearWin+   Posted: Wed May 13, 2009 9:29 pm   Subject:
subroutine hmove_child_windows
use mswin
integer :: i,intscr
intscr=clearwin_info@('INTERMEDIATE_SCROLL')
if(intscr==0)then
do i=1,size(childhnd,1)
...
  Topic: dynamic scrollbars in a MDI frame
acp693

Replies: 4
Views: 8416

PostForum: ClearWin+   Posted: Wed May 13, 2009 9:26 pm   Subject:
rest of module

integer function cback()
cback = 1
end function

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

integer function scrollfunc()
use ...
  Topic: dynamic scrollbars in a MDI frame
acp693

Replies: 4
Views: 8416

PostForum: ClearWin+   Posted: Wed May 13, 2009 9:21 pm   Subject: dynamic scrollbars in a MDI frame
Hello,
I've been working on building an MDI frame that has dynamic scrollbars for when a child window gets moved outside the frame. When no child is outside the frame edge then no scrollbars are visi ...
  Topic: trouble with scrollbar handle
acp693

Replies: 2
Views: 6401

PostForum: ClearWin+   Posted: Tue May 12, 2009 10:01 am   Subject:
Thank you Paul, I will look into this. I was looking for some means to hide the scrollbar when it's not needed, and intended to use the windows api function showscrollbar in order to achieve this. How ...
  Topic: trouble with scrollbar handle
acp693

Replies: 2
Views: 6401

PostForum: ClearWin+   Posted: Mon May 11, 2009 4:00 pm   Subject: trouble with scrollbar handle
Hello, I have the following code snippet, but on running I get a run time error: can't obtain window of non-existant control

and gives the line number to the line : i=winio@('%lc&', scrhnd) ...
  Topic: Are allocatable arrays allowed in a Type definition?
acp693

Replies: 1
Views: 4153

PostForum: Support   Posted: Thu May 07, 2009 11:08 am   Subject: Are allocatable arrays allowed in a Type definition?
Hello,

Does FTN95 allow allocatable arrays in a Type definition?

Something like:

Type Testtype

Integer, allocatable :: a(:)
Real, allocatable :: b(: ...
  Topic: Texture in OpenGL?
acp693

Replies: 8
Views: 14041

PostForum: Support   Posted: Sun May 03, 2009 2:56 pm   Subject:
John, I turned off hardware acceleration through control panel and display. I don't know if it's possible through FTN95. Without turning off hardware acceleration my triangles were just black shapes. ...
  Topic: Texture in OpenGL?
acp693

Replies: 8
Views: 14041

PostForum: Support   Posted: Sun May 03, 2009 7:03 am   Subject:
module openglmod
real(kind=1),dimension(3,4)::arrcol
integer::texture1

data arrcol(:,1)/0.7 ,0.0,0.0/
data arrcol(&# ...
  Topic: Texture in OpenGL?
acp693

Replies: 8
Views: 14041

PostForum: Support   Posted: Sun May 03, 2009 6:58 am   Subject: Solved
So I made some progress last night and now have a small example of how to lay a 1D texture on a triangle in OpenGL. There were several mistakes to find, the first was the shape of the array holding t ...
  Topic: Texture in OpenGL?
acp693

Replies: 8
Views: 14041

PostForum: Support   Posted: Sat May 02, 2009 10:33 am   Subject:
module openglmod
real,dimension(4,3)::arrcol
integer:: texture1

data arrcol(1,:)/0.76,0.2,0.02/
data arrcol(2,:)/0.88,0.6, ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group