English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 10 October 2019, 06:52   #21
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,500
Someone know how Lines' "texturing" works? Like ho blitter use 16 bit pattern
sandruzzo is online now  
Old 10 October 2019, 09:28   #22
DanScott
Lemon. / Core Design

DanScott's Avatar
 
Join Date: Mar 2016
Location: Sunny Bournemouth, UK
Posts: 446
Quote:
Originally Posted by sandruzzo View Post
Someone know how Lines' "texturing" works? Like ho blitter use 16 bit pattern
You could always test yourself, to see what the results are
DanScott is online now  
Old 10 October 2019, 09:50   #23
ross
Per aspera ad astra

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 2,024
I think there are all the advanced details you need in this thread.
Anyway..
Put your 16 bit patterns/texture in BDAT (as a mask which are repeated regularly during blitter output).
Select initial position in BLTCON1(TEXTURE) as a pre-shift/rotation inside the 16 bit (0 if uninterested).
Use a right minterm (now it is important because B must be part of the operation).
ross is offline  
Old 10 October 2019, 10:10   #24
ross
Per aspera ad astra

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 2,024
Fast dummy example.

BDAT=0xf551 (****.*.*.*.*...*)



EDIT: I could put better colors
Attached Thumbnails
Click image for larger version

Name:	textured_cube.gif
Views:	64
Size:	41.1 KB
ID:	64703  
ross is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blitter line-drawing mode? E-Penguin Coders. Blitz Basic 2 13 April 2019 21:37
Blitter: clean-up line drawing and fill mode idle cycles. ross Coders. Asm / Hardware 9 12 May 2018 22:32
Blitter line mode examples? LuigiThirty Coders. Asm / Hardware 4 17 August 2017 08:26
Keep Active control panel "Line Mode" and "Interlaced Line Mode" Zilog request.UAE Wishlist 4 02 August 2014 23:08
Line mode blitter absence Coders. General 4 25 September 2009 20:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06433 seconds with 15 queries